ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   can`t connect database in debian etch (http://forum.ispsystem.com//showthread.php?t=198)

shorewall 12-31-2007 07:58 AM

can`t connect database in debian etch
 
Dear, my ispmgr can`t connect to database, mysql in features is off, mysql but in services is on. when add database server theres cant connect too.


:(:(
ispmgr.log :

Dec 31 11:54:54 ^[[1;35mWARNING Can't connect to mysql as root@localhost MySQLError('Access denied for user 'root'@'localhost' (using password: YES)').^[[0m
Dec 31 11:54:54 ^[[1;31mERROR Exception 1: Can't connect to database^[[0m
Dec 31 11:54:54 ^[[1;36mEXTINFO Load config '/etc/my.cnf'^[[0m

but when I login to mysql its can connect :

server:/etc# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 39
Server version: 5.0.32-Debian_7etch3-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


please give me some solution. thanks

Igor 12-31-2007 08:19 AM

set correct mysql socket path


All times are GMT +2. The time now is 03:00 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.