creating a new database with mysqldb

John Salerno johnjsal at
Wed May 17 20:46:36 CEST 2006

Since the connect method of mysqldb requires a database name, it seems 
like you can't use it without having a database already created. So is 
there a way to connect to your mysql server (without a specified 
database) in order to create a new database (i.e., the CREATE DATABASE 


More information about the Python-list mailing list