Thanks for solution.
I have also encounter similar problem before. I have found the name for
socket file appeared in exception content is different from which MySQL
server using, but don't know how where to indicate the socket file name.
/etc/mysql/my.cnf
2011/3/2 draix
> Hey Pulkit,
>
> I've h
Hey Pulkit,
I've had this error a couple of times too. Check the location of your
MySQL socket, maybe it's different to '/var/run/mysqld/mysqld.sock'.
You can do it checking /etc/mysql/my.cnf. After that, just update
DATABASE_HOST in settings.py and add the path to the new socket.
PS: you can als
On Mon, Feb 28, 2011 at 1:19 PM, Pulkit Mehrotra
wrote:
> OS: Ubuntu 10.04
> I am learning web developing with Django.I downloaded and installed
> python-mysql but i couldn't connect.I think problem is database
> settings.
> Here is the process:
>
> django-admin.py startproject mysite #creating a
OS: Ubuntu 10.04
I am learning web developing with Django.I downloaded and installed
python-mysql but i couldn't connect.I think problem is database
settings.
Here is the process:
django-admin.py startproject mysite #creating a project and a mysite
folder
files in 'mysite' folder:
/__init__.py
/u
4 matches
Mail list logo