ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
On checking mysql service status
Rich (BB code):
{"error":"MySQL: Connection refused"}chown: changing ownership of '/home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb': Operation not permitted
/home/xtreamcodes/iptv_xtream_codes/start_services.sh: line 14: /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp: Permission denied
/home/xtreamcodes/iptv_xtream_codes/start_services.sh: line 15: /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx: Permission denied
root@localhost:~# service mysql status
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-08-11 00:37:47 UTC; 4min 15s ago
Process: 17691 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
Process: 17668 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Aug 11 00:37:47 localhost systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Aug 11 00:37:47 localhost systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Aug 11 00:37:47 localhost systemd[1]: Stopped MySQL Community Server.
Aug 11 00:37:47 localhost systemd[1]: mysql.service: Start request repeated too quickly.
Aug 11 00:37:47 localhost systemd[1]: mysql.service: Failed with result 'exit-code'.
Aug 11 00:37:47 localhost systemd[1]: Failed to start MySQL Community Server.
Does anyone know the solution.?
Last edited by a moderator: