panique / huge

Simple user-authentication solution, embedded into a small framework.
2.14k stars 789 forks source link

MySQL connection error #879

Open dirazi opened 5 years ago

dirazi commented 5 years ago

I'm getting an error code: 0 when attempting to view any pages besides index, I have correctly configured the config with the database login details, I have made sure the mysql user correct access to the database.

sr-verde commented 5 years ago

Could you please credit the exact error message? Just copy and paste it. Thank you.

dirazi commented 5 years ago

I switched from an external database to an internal database and it seemed to fix the issue, not sure what went wrong it was something along the lines of

"Database connection error occurred

Error code: 0"

sr-verde commented 5 years ago

Possibly the application could not connect to the database (the external server may refuse connections from non-localhost).

@panique, can you close this?