onecentlin / laravel-adminer

Adminer database manager for Laravel 5+
MIT License
243 stars 45 forks source link

No such file or directory #1

Closed shagal-sajid closed 8 months ago

shagal-sajid commented 6 years ago

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

onecentlin commented 6 years ago

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

onecentlin commented 6 years ago

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