laravel-adminer icon indicating copy to clipboard operation
laravel-adminer copied to clipboard

No such file or directory

Open shagal-sajid opened this issue 6 years ago • 2 comments

screen shot 2018-08-31 at 11 12 10 am

I have done everything as required, and the database is working properly for all other laravel projects I don't understand what went wrong

shagal-sajid avatar Aug 31 '18 05:08 shagal-sajid

@icodetheworld Please check your mysql socket path. You may modify your php.ini and update correct path for mysqli.default_socket

onecentlin avatar Aug 31 '18 06:08 onecentlin

Check your current mysql socket with command: netstat -ln | grep -o -m 1 -E '\S*mysqld?\.sock'

This command works while your MySQL or MariaDB is running.

For mac user using MAMP, for example, it will print out /Applications/MAMP/tmp/mysql/mysql.sock

onecentlin avatar Aug 31 '18 07:08 onecentlin