when i use the Manage.py syncdb the creat the database . the django
throw me this below.
what's the problem about it?  anyone can tell me? thanks very much



Traceback (most recent call last):
  File "E:\wiki\manage.py", line 11, in <module>
    execute_manager(settings)
  File "D:\Python\Lib\site-packages\django\core\management.py", line
1672, in ex
ecute_manager
    execute_from_command_line(action_mapping, argv)
  File "D:\Python\Lib\site-packages\django\core\management.py", line
1571, in ex
ecute_from_command_line
    action_mapping[action](int(options.verbosity),
options.interactive)
  File "D:\Python\Lib\site-packages\django\core\management.py", line
492, in syn
cdb
    _check_for_validation_errors()
  File "D:\Python\Lib\site-packages\django\core\management.py", line
1167, in _c
heck_for_validation_errors
    num_errors = get_validation_errors(s, app)
  File "D:\Python\Lib\site-packages\django\core\management.py", line
990, in get
_validation_errors
    db_version = connection.get_server_version()
  File "D:\Python\Lib\site-packages\django\db\backends\mysql\base.py",
line 127,
 in get_server_version
    self.cursor()
  File "D:\Python\Lib\site-packages\django\db\backends\mysql\base.py",
line 99,
in cursor
    self.connection = Database.connect(**kwargs)
  File "D:\Python\Lib\site-packages\MySQLdb\__init__.py", line 74, in
Connect
    return Connection(*args, **kwargs)
  File "D:\Python\Lib\site-packages\MySQLdb\connections.py", line 170,
in __init
__
    super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL
server on 'lo
calhost' (10061)")
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to