Hi Hiram,

 

Because space not enough, our MySQL database(version 4.0) is migrated (
eg. relocated) from /var/lib/mysql to /data/mysql.

In my.cnf, I set 

datadir=/data/mysql from /var/lib/mysql and 

socket =/data/mysql from /var/lib/mysql,

 

MySQL databse can start and work well but our genome browser mirror site
encounters below errors:

-------------------------------------start mysql by user mysql:

Software error:

DBI connect('database=acl;host=localhost','atif',...) failed:

Can't connect to local MySQL server 

through socket '/var/lib/mysql/mysql.sock' (2)

at /var/www/cgi-bin/login.pl line 36

 

For help, please send mail to the webmaster (r...@localhost),

giving this error message and the time and date of the error. 

 

---------------------------------start mysql by user:

Internal Server Error

The server encountered an internal error or misconfiguration 

and was unable to complete your request.

 

Please contact the server administrator, r...@localhost and inform

them of the time the error occurred,

and anything you might have done that may have caused the error.

More information about this error may be available in the server error
log.

 

Apache/2.0.52 (CentOS) Server at ucsc.gis.a-star.edu.sg Port 80

----------------------------------------.

 

When re-set 

socket=/var/lib/mysql (original path) and

datadir=/data/mysql (new location), 

 

Genome browser mirror site works well, everything is ok.

 

I want to know whether "socket=/var/lib/mysql" in Genome browser mirror

is as default one, if yes, how to change this socket? , if no, where is 

wrong for this new socket path?

 

 

Thanks & Regards

 

Wuqi

 

 

 

_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to