Adding database module
I am new to django
I would like to s开发者_Python百科tart a project but when i run it i get this error
Error loading MySQLdb module
How do i add the MYSQL module or any other module for that matter
Install it on your system, using either a native installer or package, via pip
or easy_install
, or by running setup.py
in the tarball.
you should install a mysql client and a mysql python client for that client. So you should execute following commands(For Debian systems)
apt-get install mysql-client
apt-get install python-mysqldb
精彩评论