Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot get DBD::mysql to load in Yv2 LINUX

Status
Not open for further replies.

sirjase

Technical User
Feb 1, 2005
6
US
I can CPAN....
Code:
[u]CPAN[/u]>DBD::mysql
Running Install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9004.tar.gz
Is alreadyunwraped into directory~ /root/.cpan/build/DBD-mysql-2.9004
Has already been proccessed within this session
Running make test
..................................
..........................
................................
.....................
.................DBI connect ('test',',...)failed:Can't connect to local MySQL server through socket Cannot connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).............
.............................
.............................
.............................
Failed 16/18 test scripts, 11.11% okay. 723/730 subtests failed, 0.96% okay.
make: ***[test_dynamic] Error 255
/usr/bin/make test --NOT OK
RUNNING make install
make test had returned bad status,won't install force
.............................................[/qoute]

Yes mysqld_safe is running
I looked for
Code:
/var/run/mysqd/mysqld.sock
This file doesn't exist
I don't know how to make this file.....
Thanks for looking at my post.........
Any advice is much appr.........
 
That file is created when you start up the MySQL daemon.

Regardless, the DBD::mysql is a tricky one to install due to 2 reasons.

1. Perl and MySQL must be built with the same compilers; this will save you lots of frusteration when installing the DBD.

2. GET the packages needed using CPAN and manually

% perl Makefile.PL (See Known Problems, you must pass flags to the MySQL libraries)

 
Ok. Same problem test install wants to see the file in /var/run/mysqld/<file.sock>
How do I tell mysql to send the sock file here......

Thanks again for look at my post....
 
Yes mysqld_safe is running.

I found a file in /temp/mysql/mysql.sock
But I cannot find mysqld.sock

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top