Hello,
yesterday i tried install: mysql odbc drivers in ubuntu 18.04 [https://medium.com/@joelzhang/instal...4-39241072326a], unfortunately the testing goes wrong and now zabbix is not able to connect to DB.
The error message is: "Error connecting to database: No such file or directory"
When i try mysql command in shell the result is: zabbix@zabbix-virtual-machine:~$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
/var/log/mysql/error.log is empty
I tried do the mysql odbc drivers in ubuntu 18.04 installation backwards and uninstall the drivers and parent files and apps but it didnt help.
when i try "sudo mysqld" :
root@zabbix-virtual-machine:~# sudo mysqld
2020-05-28T06:26:53.253803Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-05-28T06:26:53.255757Z 0 [Warning] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory.
2020-05-28T06:26:53.255810Z 0 [Note] mysqld (mysqld 5.7.30-0ubuntu0.18.04.1) starting as process 22570 ...
2020-05-28T06:26:53.258275Z 0 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
2020-05-28T06:26:53.258325Z 0 [ERROR] Aborting
2020-05-28T06:26:53.258343Z 0 [Note] Binlog end
2020-05-28T06:26:53.258389Z 0 [Note] mysqld: Shutdown complete
Im DEV environment and now i thinking if it is posible to repair or reinstall DB or if i must reinstall whole zabbix (i have backup of hosts and templates) of course i will be very happy if we can save the DB or at least save the zabbix server and reinstall only MariaDB.
I using Zabbix 4.4
Thanks for any advice or help.
yesterday i tried install: mysql odbc drivers in ubuntu 18.04 [https://medium.com/@joelzhang/instal...4-39241072326a], unfortunately the testing goes wrong and now zabbix is not able to connect to DB.
The error message is: "Error connecting to database: No such file or directory"
When i try mysql command in shell the result is: zabbix@zabbix-virtual-machine:~$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
/var/log/mysql/error.log is empty
I tried do the mysql odbc drivers in ubuntu 18.04 installation backwards and uninstall the drivers and parent files and apps but it didnt help.
when i try "sudo mysqld" :
root@zabbix-virtual-machine:~# sudo mysqld
2020-05-28T06:26:53.253803Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-05-28T06:26:53.255757Z 0 [Warning] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory.
2020-05-28T06:26:53.255810Z 0 [Note] mysqld (mysqld 5.7.30-0ubuntu0.18.04.1) starting as process 22570 ...
2020-05-28T06:26:53.258275Z 0 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
2020-05-28T06:26:53.258325Z 0 [ERROR] Aborting
2020-05-28T06:26:53.258343Z 0 [Note] Binlog end
2020-05-28T06:26:53.258389Z 0 [Note] mysqld: Shutdown complete
Im DEV environment and now i thinking if it is posible to repair or reinstall DB or if i must reinstall whole zabbix (i have backup of hosts and templates) of course i will be very happy if we can save the DB or at least save the zabbix server and reinstall only MariaDB.
I using Zabbix 4.4
Thanks for any advice or help.
Comment