This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

at10439
at10439

Hello Everybody,

Just updated octoberCMS to build 464, I always get error messages when running a php artisan command. Does anybody has a clue about the reason behind that ?

thx in advance, Alex

% php artisan october:up Migrating application and plugins...

In Connection.php line 664:

SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = db_002 and table_name = migrations)

In PDOConnection.php line 47:

SQLSTATE[HY000] [2002] No such file or directory

In PDOConnection.php line 43:

SQLSTATE[HY000] [2002] No such file or directory

Last updated

mjauvin
mjauvin

Did you check if the "migrations" table exists in your database?

at10439
at10439

Marc, yes - the "migrations" table exists ! I did some reseach on these laravel error messages which indicate that there would be an issue with unix socket communication (Mac OS Catalina 10.15.3).

So, I added "'unix_socket' => env('UNIX_SOCKET', '/Applications/MAMP/tmp/mysql/mysql.sock'), " to the mysql driver section at my config/database.php - and it works now - no idea why

thx so far

mjauvin
mjauvin

So I guess this is mostly an issue with MAMP. Never had this on a real server.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.