Hi,
I followed your instructions for installing Dietpi and baikal. (Btw: great Installation and setup routine)
Everything worked fine until I reach the point where I must restart mysql.
All I get is:
root@DietPi:~# service mysql restart
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
with
root@DietPi:~# systemctl status mysql.service -l
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Sat 2016-07-23 11:40:52 BST; 24s ago
Process: 12438 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILUR E)
Jul 23 11:40:52 DietPi /etc/init.d/mysql[13248]: 0 processes alive and '/usr/bin /mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul 23 11:40:52 DietPi mysql[12438]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Jul 23 11:40:52 DietPi systemd[1]: mysql.service: control process exited, code=e xited status=1
Jul 23 11:40:52 DietPi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Jul 23 11:40:52 DietPi systemd[1]: Unit mysql.service entered failed state.
and
root@DietPi:~# journalctl -xn
-- Logs begin at Sat 2016-07-23 10:17:30 BST, end at Sat 2016-07-23 11:40:52 BST. --
Jul 23 11:40:16 DietPi systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
-- Subject: Unit mysql.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Jul 23 11:40:52 DietPi /etc/init.d/mysql[13248]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul 23 11:40:52 DietPi /etc/init.d/mysql[13248]: [61B blob data]
Jul 23 11:40:52 DietPi /etc/init.d/mysql[13248]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Jul 23 11:40:52 DietPi /etc/init.d/mysql[13248]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jul 23 11:40:52 DietPi /etc/init.d/mysql[13248]:
Jul 23 11:40:52 DietPi mysql[12438]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Jul 23 11:40:52 DietPi systemd[1]: mysql.service: control process exited, code=exited status=1
Jul 23 11:40:52 DietPi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Jul 23 11:40:52 DietPi systemd[1]: Unit mysql.service entered failed state.
That means I still get the “Baïkal was not able to establish a connexion to the configured MySQL database (as configured in Specific/config.system.php).” error and it doesn´t work.
Any ideas on how to fix that?
Kind Regards