Koozali.org formerly Contribs.org

error mysql

Offline mgb

  • ****
  • 558
error mysql
« 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 ~]#
Thanks all for helping
Skype yosii2009

Offline Daniel B.

  • *
  • 1,697
    • Firewall Services, la sécurité des réseaux
Re: error mysql
« Reply #1 on: February 12, 2014, 12:40:03 PM »
looks like your mysqld service is not started. Please report this on the bugtracker
C'est la fin du monde !!! :lol:

Offline mgb

  • ****
  • 558
Re: error mysql
« Reply #2 on: February 13, 2014, 11:40:48 AM »
Is there any idea to fix mysql
There are data
Thanks all for helping
Skype yosii2009

Offline Daniel B.

  • *
  • 1,697
    • Firewall Services, la sécurité des réseaux
Re: error mysql
« Reply #3 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.
C'est la fin du monde !!! :lol:

Re: error mysql
« Reply #4 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.