Error loading MySQLdb module: No module named MySQLdb
warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
Submitted by crucifier on 22 December, 2007 - 15:40
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii python-mysqldb 1.2.2-3ubuntu1 A Python interface to MySQL
ควรจะเจอ ii ถ้าไม่ใช่ก็ลงใหม่
sudo apt-get install python-mysqldb
»
Submitted by crucifier on 23 December, 2007 - 20:28.
ลองเรียก
แล้วดูว่าได้แบบนี้มั๊ย
ควรจะเจอ
iiถ้าไม่ใช่ก็ลงใหม่เหมือนกันทุกประการครับ แต่กลับไม่สามารถใช้งานได้ งงเลย
ลองเช็ค PYTHONPATH กับ sys.path