laravel-adminer
laravel-adminer copied to clipboard
No such file or directory
I have done everything as required, and the database is working properly for all other laravel projects I don't understand what went wrong
@icodetheworld Please check your mysql socket path.
You may modify your php.ini
and update correct path for mysqli.default_socket
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