I'm pushing my app to production using digital ocean and forge.
Everything is synced with github and now working but I'm not sure how to run a migration now that it's live to populate my database tables?
Also, I imported my data through sequel pro to just test and I can no longer login or create a user? It just errors out after I submit.
You'll also need to set up the environment variables to connect to the db, again on forge. These variables are the same format as in your .env file but the password will have been emailed to you from forge when the server was set up.
Thanks for the replies. I didn't think to ssh in and run them. I do have the auto deploy script running with php artisan migrate --force but nothing shows up in the database.
@taijuten I restarted it through digital ocean, I didn't see where in forge? Tried again same error, also tried that stackoverflow thing and same error. It's really weird.
@taijuten Found the problem, I had to add 'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock', to the config file to get mamp working a long time ago. I had completely forgotten that was breaking everything.