Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Don on April 21, 2003, 08:42:34 PM
-
trying to log into webmail on esmith get this error
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(105) " [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ** Array"
["callback"]=>
NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]
-
Sounds like mysql isn't running on your machine.
-
Don't want to sound dumb but what is the command to start Mysql from the command shell on Esmith 5.6
-
/etc/rc.d/init.d/mysqld start
-
Thank you for the quick response that fix the problem but I don't have an idea why the Mysql service would stop on its on. do you know where i can check to make sure that it is configured to start auto when the server reboots
-
No, I don't have any idea either. Take a look in /etc/rc.d/rc7.d and make sure you have S90mysqld there.