Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Rob Shiras on May 23, 2003, 09:38:20 AM
-
I installed a new server, and I copied all my database files from the old server to the new one. Probably not a good idea. I think that is what has caused the fatal error when I try to access webmail. I have tried resetting the root password for mysql (see http://www.mysql.com/doc/en/Resetting_permissions.html). That did not fix the problem. So here's the error:
A fatal error has occurred
object(db_error)(7) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-24)
["message"]=>
string(24) "DB Error: connect failed"
["userinfo"]=>
string(107) " [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)] ** Array"
["callback"]=>
NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]
-
My question is, should I uninstall and then re-install MySQL?
If so, how do I do that?
Additional info:
I don't think myserver.pid matches the MySQL pid. Should it?
What other indications should I look for to find the source of the problem?
Thanks,
Rob