On Thu, May 22, 2008 at 8:58 PM, Qiang <[EMAIL PROTECTED]> wrote: > > how to config the MySQL before i run the manage.py? how do i know that > MySQL is running? > > On May 23, 12:34 am, jonknee <[EMAIL PROTECTED]> wrote: > > > _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL > > > server on 'lo > > > calhost' (10061)") > > > > It can't connect to MySQL. Make sure your settings are accurate and > > that MySQL is running. >
Based on the paths in your original email you appear to be running Windows. So, check the Windows "Services" panel (it's under the Control Panel, Administrative Tools, or somewhere like that) and see if "MySQL" is in the list with a status of "Started". If it is listed but not started, Start it (right click and select Start). If it is not listed then it's either not installed or not configured as a Windows service. I've only ever run it as a service so I can't help you with the second possibility if that is the case (though you could use the wizard mentioned below to change it so as to run it as a service). If it is listed and shown as "Started" but you still cannot connect, then run through the instance configuration wizard (under Programs->MySQL->MySQL Server 5.0 (assuming that's the level you've installed) and verify that you have enabled TCP/IP networking. Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---