bnanaboy has asked for the wisdom of the Perl Monks concerning the following question:
The problem I have come up against now is that the MySQL server is running on a socket in a location other than the default MySQL socket, so the DBD::mysql package doesn't pass the make test stage. The test script uses the outdated (and no longer supported) Perl Mysql object of the form Mysql->connect($host, $db, $user, $pw); and does not support user-specified sockets, so I get an error message saying the server is not running or I do not have access rights to the database. I tried changing the test script to use DBI->connect($dns, $user, $pass); which allows you to specify the socket and configuration file to use, but DBI doesn't support the Mysql object method getserverinfo used in the test script. Any suggestions on what to try now? Should I assume since I know what's causing the errors that DBD::mysql is safe to install and skip the make test stage? (I hate to assume...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing DBD::mysql
by bart (Canon) on Oct 15, 2002 at 21:21 UTC | |
|
Re: Installing DBD::mysql
by runrig (Abbot) on Oct 15, 2002 at 20:34 UTC | |
|
Re: Installing DBD::mysql
by l2kashe (Deacon) on Oct 15, 2002 at 20:45 UTC |