Hello all
I need your help. Please.
Install a new zabbix server with the following features:
Centos7
Zabbix version: 5.0
Mysql: 15.1 Distrib: 10.4.19 Maria DB
PHP 7.2
it's a fresh install so i have nothing to back up because i haven't added any hosts yet.
On the centos server create a partition for the DB (/ data). I followed the instructions on how to change the mysql database directory. I validated it with @@ datadir inside mysql and it was correct in:
: / data / mysql
But the web interface is not working for me now. shows me error:
Database error
No such file or directory
I went to the php.ini configuration file located at:
/etc/opt/remi/php72/php.ini and there add the new socket path and it looks like this:
pdo_mysql.default_socket=/data/mysql/mysql.sock
mysqli.default_socket =/data/mysql/mysql.sock
And restart the service httpd But it still doesn't work for me, what else should I modify?
Thank you very much for your help.
I leave here the error message that gives me and how is the directory of the DB after having changed it to the new partition.
Thanks again.
I need your help. Please.
Install a new zabbix server with the following features:
Centos7
Zabbix version: 5.0
Mysql: 15.1 Distrib: 10.4.19 Maria DB
PHP 7.2
it's a fresh install so i have nothing to back up because i haven't added any hosts yet.
On the centos server create a partition for the DB (/ data). I followed the instructions on how to change the mysql database directory. I validated it with @@ datadir inside mysql and it was correct in:
: / data / mysql
But the web interface is not working for me now. shows me error:
Database error
No such file or directory
I went to the php.ini configuration file located at:
/etc/opt/remi/php72/php.ini and there add the new socket path and it looks like this:
pdo_mysql.default_socket=/data/mysql/mysql.sock
mysqli.default_socket =/data/mysql/mysql.sock
And restart the service httpd But it still doesn't work for me, what else should I modify?
Thank you very much for your help.
I leave here the error message that gives me and how is the directory of the DB after having changed it to the new partition.
Thanks again.
Comment