Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: how to create a database in perl

by erix (Parson)
on Jan 28, 2011 at 15:53 UTC ( #884867=note: print w/replies, xml ) Need Help??


in reply to Re^2: how to create a database in perl
in thread how to create a database in perl

You can just run "use mynewdbname" as a sql statement in do:

$dbh->do( "use mynewdbname" )

I don't use mysql, but I find plenty of usage of that when searching in google code with $dbh->do("use

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://884867]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-11-20 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?