I get this error when I try to login in phpmyadmin: "mysqli_real_connect(): no such file or directory" My os is ubuntu What should I do?
I even do this "change localhost to 127.0.0.1 in config.inc.php" but it doesn't work
this is the status of MySQL service
`sudo service mysql status`
mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: en)
Active: failed (Result: exit-code) since Sat 2018-05-19 08:54:24 CST; 2min 4s
Process: 31984 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exi Main PID: 1244 (code=exited, status=0/SUCCESS)
مه 19 08:54:24 amir systemd[1]: mysql.service: Service hold-off time over, sched
مه 19 08:54:24 amir systemd[1]: mysql.service: Scheduled restart job, restart co
مه 19 08:54:24 amir systemd[1]: Stopped MySQL Community Server.
مه 19 08:54:24 amir systemd[1]: mysql.service: Start request repeated too quickl
مه 19 08:54:24 amir systemd[1]: mysql.service: Failed with result 'exit-code'.
مه 19 08:54:24 amir systemd[1]: Failed to start MySQL Community Server.