in reply to Help for Mysql
To quote my favorite Marine Drill Seargeant: "What kind of disorganized grabastic question is that?"
Returning to my kindly Perl-Monkish helpful personality:
Check this out:
#!/bin/perl -w
use strict;
use DBI;
my $dbh = DBI->connect("DBI:mysql","user","password")
or die $DBI::errstr;
$dbh->execute("create database blah")
or die $dbh::errstr;
As for "seeing" the database that depends on what you mean by that.
| Peter L. Berghold | Brewer of Belgian Ales |
| Peter@Berghold.Net | www.berghold.net |
| Unix Professional | |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help for Mysql
by webstudioro (Acolyte) on Jul 11, 2003 at 19:22 UTC |