Changes between Version 2 and Version 3 of PythonMysql

Show
Ignore:
Author:
davidhammer (IP: 129.89.61.125)
Timestamp:
01/01/08 16:32:53 (2 years ago)
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}}} 

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.