in reply to connect to a database with DBI

I don't see any code so i try to guess what is the problem...

You can try to connect to DB named `test` (almost all default MySQL installation have this DB) and after that make

$dbh->do("CREATE TABLE ...");