lemberg / connfa-integration-server

Connfa CMS & Integration Server
Apache License 2.0
31 stars 43 forks source link

Application in Production #28

Closed Jazz527 closed 7 years ago

Jazz527 commented 7 years ago

Greetings!

I'm having an issue setting up the server. Whenever I run

php artisan migrate

It gives me "Application In Production! Do you really wish to run this command? (Y/N)"

When I respond with yes I get the following error:

[PDOException] SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.

I'm not sure what I need to do or if I have done anything wrong.

Thanks

Jazz527 commented 7 years ago

Never mind. I was able to figure out the problem. Mysql server kept closing and failing which messed up the connection. Thanks

yuriymyrosh commented 7 years ago

Hi @Jazz527 ! It looks like you have some problem with MySQL or with connection configuration. Connection configurations you can manage in .env file. Also you can check our requirements for web server and mysql here http://connfa.com/integration-server/server-requirements/

Jazz527 commented 7 years ago

Thank you so much for the help. I will be posting a separate issue on a new thread.

Thanks again for the help. I'm very new to this!