Changes between Version 2 and Version 3 of PythonMysql


Ignore:
Timestamp:
01/01/08 16:32:53 (10 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}}}