AND you should make sure your user does have permission to drop that database.$dsn = "DBI:mysql:database=$database;host=$hostname;port=$po rt"; $dbh = DBI->connect($dsn, $user, $password);
In reply to Re^7: Can't call method "do" on an undefined value error
by Joost
in thread Can't call method "do" on an undefined value error
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |