[afnog] Database error

Nabil Badri shenzen.shen at gmail.com
Mon Sep 7 09:19:05 UTC 2015


dear Johan Bernhardsson,Daniel Shaw,Stephane Bortzmeyer
when i make this commande i find:

1-sudo service mysql status :

[root at zabbixserver ~]# ps aux www | grep mysql
root      1366  0.1  0.9 125944 18684 ?        S    May04 220:48 /bin/sh
/usr/bin/mysqld_safe --datadir=/var/lib/mysql
--socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid
--basedir=/usr --user=mysql
mysql    23343 14.0  1.5 509300 28332 ?        Sl   10:20   0:00
/usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
--log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid
--socket=/var/lib/mysql/mysql.sock
root     23358  0.0  0.0 105324   876 pts/0    S+   10:20   0:00 grep mysql

2-sudo service mysql status

[root at zabbixserver ~]# sudo service mysql status
mysql: service non reconnu
thanks to respond me :)


2015-09-07 9:58 GMT+02:00 Nabil Badri <shenzen.shen at gmail.com>:

> I am running Centos and installed Zabbix in a VM . Currently when I try to
> access the frontend of zabbix I get the following:
>
> Database error
> Error connecting to database:
> can't connect to local Mysqlserver through socket
> '/var/lib/mysql/mysql.sock' (2)
>
> I have no idea what to do about this error message (as I am a centos), and
> would appreciate some help.
> thank u
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.afnog.org/pipermail/afnog/attachments/20150907/dbbb2fc0/attachment.html>


More information about the afnog mailing list