On Fri, May 6, 2011 at 11:21 PM, Stuart MacKay < smac...@flagstonesoftware.com> wrote:
> If you search for the error code 2002 the most likely cause is that the > MySQL server is not running. However you also mention that you are running > VMWare - I presume this is where the database server is running. Are you > trying to connect to the database from another system, i.e. windows ? > > I use VirtualBox and the default setup for networking is such that the > localhost cannot talk to the virtual server without explicitly setting up > network bridging. So if VMWare is similar this is also a possible cause for > your problems. > > As usual as much information about your setup and what options you have > tried would make it easier to identify the problem. > > > Regards, > > Stuart MacKay > Lisboa, Portugal > Sir Stuart Mackay, Thank you for the reply.. Let me start like this... "I wanted to develop a forum like application, i run WinXP, b'coz of very less HDD space.. i couldn't install linux on my machine, so i opted for VMWare & got OpenSUSE installed.. I downloaded Django and installed as instructed in documentation, Every thing worked fine till the step.."python manage.py runserver" after this i got that "welcome page 'Congrats' page" After this i wanted to install database.. as mentioned in documentation, i did install mysql using YaST in OpenSUSE.. when i typed "mysql" in terminal it showed an error -- " Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)") " I tried to check the error and correct what had gone wrong.. I Google 'd though i found info like.. there r different versions of "MySQL" for python and all... i even reinstalled it.. gave me the same error... unable to proceed further... That's when i found this group and mailed my problem... The Django Documentation gives a clear info of Sqllite 2/3 usage but not MySQL.. So what would u recommend me to install and work on..? Can u please explain me the Procedure ? Thank You.. -- 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.