Re: DBI: CREATE USER statement fails

Discussion in 'Perl Misc' started by gamo, Dec 21, 2013.

  1. gamo

    gamo Guest

    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";
    gamo, Dec 21, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ulloa
    Replies:
    1
    Views:
    514
    Juha Laiho
    Jul 22, 2004
  2. Jerome Hauss
    Replies:
    0
    Views:
    160
    Jerome Hauss
    Oct 13, 2004
  3. Asby

    Mason, DBI, and DBI::Pg

    Asby, Jul 24, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    167
  4. Tim Haynes
    Replies:
    3
    Views:
    131
    Ron Reidy
    Sep 13, 2003
  5. Alan Curry

    Re: DBI: CREATE USER statement fails

    Alan Curry, Dec 21, 2013, in forum: Perl Misc
    Replies:
    1
    Views:
    106
    Rainer Weikusat
    Dec 22, 2013
Loading...

Share This Page