Wednesday, December 24, 2014

Re: django problem with mysql and apache


On Wed, Dec 24, 2014 at 6:54 AM, <th.granier@free.fr> wrote:
>
> 3 during the installation i have this probleme about mysql
>
>
>
> root@linux-pc:/home/siteweb# python3.4 manage.py migrate
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.4/dist-packages/django/db/backends/mysql/base.py", line 14, in <module>
>     import MySQLdb as Database
> ImportError: No module named 'MySQLdb'

About this, try installing MySQLdb using this command:
apt-get install python-mysqldb

--

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF66xG3UEWJPvXFw44ih0LE%3DDLtOZfzyGpJOEbwBGF-4MKNxMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment