Category: macos

Php Connection issue(SQL STATE 2002) with MySQL while connection string is right

I couldn’t push schema changes to MySQL DB from terminal. I’m always getting 2002 error. I have installed MySQL. It’s up and running. I’m using MAMP. Here is my .env file # In all environments, the following files are loaded…