Changes between Version 2 and Version 3 of PythonMysql


Ignore:
Timestamp:
Jan 1, 2008, 4:32:53 PM (16 years ago)
Author:
davidhammer
Comment:

Most mysql user accounts have passwds. This syntax worked for me.

Legend:

Unmodified
Added
Removed
Modified
  • PythonMysql

    v2 v3  
    113113>>> import MySQLdb
    114114>>> MySQLdb.version_info
    115 >>> MySQLdb.connect(db='databasename', user='username')
     115>>> MySQLdb.connect(db='databasename', user='username', passwd='userpassword')
    116116}}}