July 1999
Intermediate to advanced
502 pages
19h 52m
English
Method: MySQL.connect( )
connection= MySQL.connect(host)
Connects to the MySQL database engine on the specified server. If you
call connect() with no arguments, it will connect
you to the MySQL database engine on the local machine. It returns a
Python object representing a connection to a MySQL database.
conn = MySQL.connect(`carthage.imaginary.com');
Read now
Unlock full access