ot;C:\Python27\lib\site-packages\django\db\backends\__init__.py",
> line 306,
> in cursor
> cursor = self.make_debug_cursor(self._cursor())
> File "C:\Python27\lib\site-packages\django\db\backends\mysql\base.py",
> line 38
> 7, in _cursor
> self.connec
On Tue, Jan 8, 2013 at 4:04 AM, Diederik van der Boor wrote:
> When you ask the mysql driver to connect to localhost, it will use the
> socket.
> To avoid this issue, better use 127.0.0.1.
which issue? what's wrong with using socket?
--
Javier
--
You received this message because you are sub
The hostname "localhost" has a special meaning for MySQL, at least on Linux it
has.
When you ask the mysql driver to connect to localhost, it will use the socket.
To avoid this issue, better use 127.0.0.1.
Also check whether the MySQL server is running on that port (netstat -a ?),
whether the ser
Hi! Recently I had the same problem and this site has helped
me:
http://stackoverflow.com/questions/11121819/mysqldb-in-python-cant-connect-to-mysql-server-on-localhost
I've set the next properties:
'ENGINE': 'django.db.backends.mysql',
'NAME': 'yourdbname',
'US
)
File "C:\Python27\lib\site-packages\MySQLdb\__init__.py", line 81, in
Connect
return Connection(*args, **kwargs)
File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 187, in
__in
it__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (20
5 matches
Mail list logo