MySQL Installation in Slackware 12.1
Posted: Sun Jul 20, 2008 9:10 pm
Hi Guys,
I already installed MySql 5.0.45 in Slackware 12.1.
While in cpan prompt and run this command "force install DBD::mysql", It prompted me a lot of error, pls find below:
failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/40server_prepare.t line 16
t/40server_prepare_error....skipped: ERROR: DBI connect('test;mysql_server_prepare=1','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/40server_prepare_error.t line 18
t/40types...................skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/41bindparam...............skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/41blobs_prepare...........skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/42bindparam...............skipped: ERROR: DBI connect('test','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/42bindparam.t line 13
t/50chopblanks..............skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/50commit..................skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/55utf8....................skipped: ERROR: DBI connect('test','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/55utf8.t line 18
t/60leaks...................skipped: Skip $ENV{SLOW_TESTS} is not set
t/65types...................skipped: ERROR: DBI connect('test','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (
How can I resolve this problem. Pls advise.
Regards,
I already installed MySql 5.0.45 in Slackware 12.1.
While in cpan prompt and run this command "force install DBD::mysql", It prompted me a lot of error, pls find below:
failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/40server_prepare.t line 16
t/40server_prepare_error....skipped: ERROR: DBI connect('test;mysql_server_prepare=1','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/40server_prepare_error.t line 18
t/40types...................skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/41bindparam...............skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/41blobs_prepare...........skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/42bindparam...............skipped: ERROR: DBI connect('test','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/42bindparam.t line 13
t/50chopblanks..............skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/50commit..................skipped: ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). Can't continue test
t/55utf8....................skipped: ERROR: DBI connect('test','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at t/55utf8.t line 18
t/60leaks...................skipped: Skip $ENV{SLOW_TESTS} is not set
t/65types...................skipped: ERROR: DBI connect('test','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (
How can I resolve this problem. Pls advise.
Regards,