arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to install and run mysql server with phpmyadmin
#1
Hello all experts. please help me i am stuck here. 

sudo service mysql restart


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


#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 


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 


   
Heart LOVE FOR ALL  HATRED FOR NONE Heart
lockThread Closed 


Messages In This Thread

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,129
11-27-2020, 02:53 AM
Last Post: Rehan
2,039
10-07-2020, 07:33 PM
Last Post: deanhills

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting