Yeah

The last line of the traceback indicates a problem with your MySQL setup 
possibly with the backend. Check the docs for interfacing Django to MySQL. 

I use PostgreSQL so I can't help much here. 

Good luck

Mike

On 12/10/2011, at 11:12 PM, yezi <yezi.fla...@gmail.com> wrote:

> hey everyone....i just cant proceed my work with django application
> because some running errors on configuring mysql and the django frame
> work.....if u please get me a solution i will be honored to
> receive.....
> 
> i kinda of get an error message
> 
> 
> C:\Django-1.3\newproject\djangoblog>python manage.py syncdb
> Traceback (most recent call last):
>  File "manage.py", line 14, in <module>
>    execute_manager(settings)
>  File "C:\Python25\Lib\site-packages\django\core\management
> \__init__.py", line
> 438, in execute_manager
>    utility.execute()
>  File "C:\Python25\Lib\site-packages\django\core\management
> \__init__.py", line
> 379, in execute
>    self.fetch_command(subcommand).run_from_argv(self.argv)
>  File "C:\Python25\Lib\site-packages\django\core\management
> \__init__.py", line
> 261, in fetch_command
>    klass = load_command_class(app_name, subcommand)
>  File "C:\Python25\Lib\site-packages\django\core\management
> \__init__.py", line
> 67, in load_command_class
>    module = import_module('%s.management.commands.%s' % (app_name,
> name))
>  File "C:\Python25\Lib\site-packages\django\utils\importlib.py", line
> 35, in im
> port_module
>    __import__(name)
>  File "C:\Python25\Lib\site-packages\django\core\management\commands
> \syncdb.py"
> , line 7, in <module>
>    from django.core.management.sql import custom_sql_for_model,
> emit_post_sync_
> signal
>  File "C:\Python25\Lib\site-packages\django\core\management\sql.py",
> line 6, in
> <module>
>    from django.db import models
>  File "C:\Python25\Lib\site-packages\django\db\__init__.py", line 78,
> in <modul
> e>
>    connection = connections[DEFAULT_DB_ALIAS]
>  File "C:\Python25\Lib\site-packages\django\db\utils.py", line 93, in
> __getitem
> __
>    backend = load_backend(db['ENGINE'])
>  File "C:\Python25\Lib\site-packages\django\db\utils.py", line 33, in
> load_back
> end
>    return import_module('.base', backend_name)
>  File "C:\Python25\Lib\site-packages\django\utils\importlib.py", line
> 35, in im
> port_module
>    __import__(name)
>  File "C:\Python25\Lib\site-packages\django\db\backends\mysql
> \base.py", line 14
> , in <module>
>    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
> module: No mo
> dule named MySQLdb
> 
> C:\Django-1.3\newproject\djangoblog>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to