It seems mysqldb does not realize it has nor read
privilege to read a file and happily continues. It dies
much later with confusing message:
Traceback (most recent call last):
File "test19a.py", line 10, in ?
_c = connect(read_default_file =
"/home/mmokrejs/.my.cnf", read_default_group =
'IRESite', init_command = 'SET AUTOCOMMIT = 0')
line 66, in Connect
return Connection(*args, kwargs)
line 134, in init
super(Connection, self).init(*args, kwargs2)
_mysql_exceptions.OperationalError: (2002, "Can't
connect to local MySQL server through socket
Log in to post a comment.