Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: mgb on February 12, 2014, 12:18:31 PM
-
sme8
rpm -q e-smith-mysql
e-smith-mysql-2.2.0-6.el5.sme
[root@wproxy ~]# expand-template /etc/e-smith/sql/init/10fix_privilege_tables
[root@wproxy ~]# /etc/init.d/mysql.init restart
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
Waiting for mysql to startup
#
#mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@wproxy ~]#
-
looks like your mysqld service is not started. Please report this on the bugtracker
-
Is there any idea to fix mysql
There are data
-
Yes: open a bug, where we'll identify what the problem is, and what the more appropriate fix is.
-
Is there any idea to fix mysql
Well, first of all you have to tell us how you broke it. You have probably been making modifications - that's probably why you ran 'expand-template'.
You should also read this essay:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Look in the mysqld logs. There's probably something there afrom mysql. You can also do:
cd /service/mysqld
sv d .
./run
and you will see error messages on the console.