Re: Unable to prepare statement with underscore
Mikael Fridh <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Patrik Jansson wrote: > >>>> It works for me using MySQL 5.0.24, libdbd 3.0007. What versions >>>> are you using? >>>> >>> Well, this particular server is running MySQL 4.1.14. How can I see >>> which libdbd version it is? >>> I need this script to run on different machines, on with a MySQL >>> server as old as 4.0.14. >> >> >> Hi, >> >> I just ran the same thing on MySQL 4.1.11 and again, it worked. >> >> From your script you can get the version of the library by doing this: >> >> print $DBD::mysql::VERSION, "\n"; > > Thanks for your help, > libdbd seems to be 3.0002_1 > I try to update by running cpan install DBD::mysql but it fails on the > test because > it is not able to login as root, duh! How can I change username / password? with cpan, if you decide any of the failed tests are ok you can force install: cpan> force install <module> -- Fridh -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]