Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Re: DBI: CREATE USER statement fails

Thread Tools

Re: DBI: CREATE USER statement fails

Posts: n/a
El 21/12/13 13:37, Kai Schaetzl escribió:
> $sql = "CREATE USER '$user'@'localhost' IDENTIFIED BY '$password'";
> $sth = $dbh->do($sql);

Are you sure that command is as you think it is?

try inserting a

print "$sql\n";

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: DBI: CREATE USER statement fails Alan Curry Perl Misc 1 12-22-2013 06:12 PM
DBI Mysql storing DBI:binary, trouble with character 26 Jerome Hauss Ruby 0 10-13-2004 03:04 PM
DBI and DBI::Oracle packages configuration ulloa Perl 1 07-22-2004 05:52 PM
DBI problem : How can I load quickly one huge table with DBI ??. Tim Haynes Perl Misc 3 09-13-2003 03:43 AM
Mason, DBI, and DBI::Pg Asby Perl Misc 0 07-24-2003 09:04 PM