05-09-2021, 10:59 AM
Hello all experts. please help me i am stuck here.
sudo service mysql restart
i unable to install and program phpmyadmin.
at login page i got this error
using many many tutorial and ways to fix it but fails
unable to install phpmyadmin due to this error at the time of configuration
sudo service mysql restart
Code: (Select All)
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
root@kvm-xxxx:~#
root@kvm-xxxx:~# systemctl status mysql.service
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-05-09 06:49:06 EDT; 17s ago
Docs: man:systemd-sysv-generator(8)
Process: 25216 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
May 09 06:48:36 kvm-xxxx systemd[1]: Starting LSB: Start and stop the mysql databas
May 09 06:48:36 kvm-xxxx mysql[25216]: /etc/init.d/mysql: WARNING: /etc/mysql/my.cn
May 09 06:48:36 kvm-xxxx /etc/init.d/mysql[25246]: [143B blob data]
May 09 06:49:06 kvm-xxxx mysql[25216]: Starting MariaDB database server: mysqld . .
May 09 06:49:06 kvm-xxxx systemd[1]: mysql.service: Control process exited, code=ex
May 09 06:49:06 kvm-xxxx systemd[1]: Failed to start LSB: Start and stop the mysql
May 09 06:49:06 kvm-xxxx systemd[1]: mysql.service: Unit entered failed state.
May 09 06:49:06 kvm-xxxxs systemd[1]: mysql.service: Failed with result 'exit-code'.
lines 1-14/14 (END)
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-05-09 06:49:06 EDT; 17s ago
Docs: man:systemd-sysv-generator(8)
Process: 25216 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
May 09 06:48:36 kvm-xxxx systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
May 09 06:48:36 kvm-xxxx mysql[25216]: /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.
May 09 06:48:36 kvm-xxxx /etc/init.d/mysql[25246]: [143B blob data]
May 09 06:49:06 kvm-xxxx mysql[25216]: Starting MariaDB database server: mysqld . . . . . . . . . . . . . . . .
May 09 06:49:06 kvm-xxxx systemd[1]: mysql.service: Control process exited, code=exited status=1
May 09 06:49:06 kvm-xxxx systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
May 09 06:49:06 kvm-xxxx systemd[1]: mysql.service: Unit entered failed state.
May 09 06:49:06 kvm-xxxx systemd[1]: mysql.service: Failed with result 'exit-code'.
~
~
lines 1-14/14 (END)
i unable to install and program phpmyadmin.
at login page i got this error
Code: (Select All)
#2002 - Connection refused — The server is not responding (or the local server's socket is not correctly configured).
using many many tutorial and ways to fix it but fails
Code: (Select All)
error Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock
unable to install phpmyadmin due to this error at the time of configuration
LOVE FOR ALL HATRED FOR NONE