Well, I shot it down.
The solution is: add an option "read_default_file".
However, according to strace this file (my.cnf) is read & used, even w/out using the option. Do I miss something or what?
pjo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I cannot connect to to remote server using MySQLdb (v 1.2.2).
However standard mysql client (v 4.1) works perfectly:
mysql -h HOST -u USER -pPSWD -P PORT (it is ok)
But when I try:
MySQLdb.connect(host=HOST,user=USER,passwd=PSWD,port=PORT)
(with the same values of variables as above)
I got: 1045, Access denied.
Best regards
pjo
Well, I shot it down.
The solution is: add an option "read_default_file".
However, according to strace this file (my.cnf) is read & used, even w/out using the option. Do I miss something or what?
pjo
No help? No even a suggestion?
pjo