I have a naked installation of the newsest Lumen version.
php artisan migrate
results in the following error:
I have a naked installation of the newsest Lumen version.
php artisan migrate
results in the following error:
Issue is less to due with Lumen and more to do with your environment. That specific PDO error indicates that your connection factory has a bad reference to the unix socket location.
Lumen is smart, however, and knows that this can be a problem. Open your database configuration and give it a default socket path:
'mysql' => [
//....
'unix_socket' => '/Full/Path/To/mysql/mysql.sock',
]