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

Title: error mysql
Post 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 ~]#
Title: Re: error mysql
Post by: Daniel B. on February 12, 2014, 12:40:03 PM
looks like your mysqld service is not started. Please report this on the bugtracker
Title: Re: error mysql
Post by: mgb on February 13, 2014, 11:40:48 AM
Is there any idea to fix mysql
There are data
Title: Re: error mysql
Post by: Daniel B. on February 13, 2014, 11:42:18 AM
Yes: open a bug, where we'll identify what the problem is, and what the more appropriate fix is.
Title: Re: error mysql
Post by: CharlieBrady on February 13, 2014, 01:59:54 PM
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.