Ich würde gerne auf meinen Debian 9 Server mysql und dementsprechend dann auch phpmyadmin installieren, allerdings scheitert dies immer wieder. Ich muss auch dazu sagen, dass ich neu im Thema Linux bin.
Problemerklärung:
Wenn ich folgendes eingebe | apt-get install mysql-server mysql-client php-mysql | kommt 1. kein Passwort zum festlegen und 2. wenn ich dann | mysql_secure_installation | eingebe fragt er mich nach einem Passwort wo nach der Eingabe dann folgende Meldung erhalte.
-
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
Wenn ich mysql starten will kommt |
-
Starting mysql (via systemctl): mysql.serviceJob for mariadb.service failed because a timeout was exceeded. See "systemctl status mariadb.service" and "journalctl xe" for details.
Unter -journalctl -xe kommt:
-
Unit mariadb.service has begun starting up.
Jun 15 19:46:29 vps-zap106549-1 mysqld[19232]: 2018-06-15 19:46:29 140031417451072 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-0+deb9u1) starting as process 19232 ...
Jun 15 19:47:59 vps-zap106549-1 systemd[1]: mariadb.service: Start operation timed out. Terminating.
Jun 15 19:48:01 vps-zap106549-1 systemd[1]: Failed to start MariaDB database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Unit mariadb.service has failed.
-- The result is failed.
Jun 15 19:48:01 vps-zap106549-1 systemd[1]: mariadb.service: Unit entered failed state.
Jun 15 19:48:01 vps-zap106549-1 systemd[1]: mariadb.service: Failed with result 'timeout'.
Wo genau muss ich jetzt was ändern.?
Vielen Dank für eure Hilfe

