Can you elaborate more please because iam new to this...iam using
python, django and mysql 5.0.....django and python works but python
and mysql5.0 not working


On Sun, Jan 18, 2009 at 8:57 PM, Tirta K. Untario <tkunta...@yahoo.com> wrote:
> You don't have mysqldb module on your system. Install it by using this: 
> 'easy_install MySQLdb'
>
> --Tirta
> -----Original Message-----
> From: joti chand <joti.ch...@gmail.com>
>
> Date: Sun, 18 Jan 2009 20:21:45
> To: <django-users@googlegroups.com>
> Subject: syncdb error
>
>
>
> hi all iam getting this error when i try to do syncdb please can anyone help
>
>
> c:\py_projects\mysite>python manage.py syncdb
> Traceback (most recent call last):
>  File "manage.py", line 11, in <module>
>    execute_manager(settings)
>  File "C:\Python25\Lib\site-packages\django\core\management\__init__.py", line
> 340, in execute_manager
>    utility.execute()
>  File "C:\Python25\Lib\site-packages\django\core\management\__init__.py", line
> 295, in execute
>    self.fetch_command(subcommand).run_from_argv(self.argv)
>  File "C:\Python25\Lib\site-packages\django\core\management\base.py", line 
> 195,
>  in run_from_argv
>    self.execute(*args, **options.__dict__)
>  File "C:\Python25\Lib\site-packages\django\core\management\base.py", line 
> 221,
>  in execute
>    self.validate()
>  File "C:\Python25\Lib\site-packages\django\core\management\base.py", line 
> 249,
>  in validate
>    num_errors = get_validation_errors(s, app)
>  File "C:\Python25\lib\site-packages\django\core\management\validation.py", 
> lin
> e 22, in get_validation_errors
>    from django.db import models, connection
>  File "C:\Python25\lib\site-packages\django\db\__init__.py", line 16, in 
> <modul
> e>
>    backend = __import__('%s%s.base' % (_import_path, 
> settings.DATABASE_ENGINE),
>  {}, {}, [''])
>  File "C:\Python25\Lib\site-packages\django\db\backends\mysql\base.py", line 
> 13
> , in <module>
>    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No 
> mo
> dule named MySQLdb
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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