Menu

strange problem w/ connection

Help
pjole
2008-10-03
2012-09-19
  • pjole

    pjole - 2008-10-03

    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

     
    • pjole

      pjole - 2008-11-10

      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

       
    • pjole

      pjole - 2008-10-11

      No help? No even a suggestion?

      pjo

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.