i have now gone back to using localhost instead of 127.0.0.1 and my error has now become:
SQLSTATE[HY000] [2002] No such file or directory
im slowly discovering that im suppose to have a mysql socket file in /opt/lampp/var/mysql and i dont have it. any ideas on how to create it? i suspect in config/database.php i must also change this here 'unix_socket' => env('DB_SOCKET', ''),
@screwtape_mk still not sure what the problem is, but when u had the error SQLSTATE[HY000] [2002] Connection refused. it looked to me like the port for mysql is incorrect.
Maybe try to confirm that mysql is listening on port 3306?
i ended up changing 127.0.0.1 to localhost and the error became No such file or directory . it turns out the mysql socket file is missing and i have not found a satisfctory solution to recreating it except that there must be something wrong with my xampp installation
@screwtape_mk , can you give me a guide on how to connect to AWS RDS, i ham hit with the same challenge on macoc bigsur, i am new to laravel as well. Thanks in advance
Wow This has been such a very long time ago that i cannot recall the specific steps except to say just go ahead and spin off a web server on AWS and run the commands for laravel installation.
Best starting point would be for you to ask chat gpt what the steps are and begin troubleshooting errors from there. ChatGPT has been super useful in terms of instructions and basic steps - you can keep us posted on the specific errors encountered