Can't connect to MySQL

Status
Not open for further replies.

matthe93

New Member
Messages
11
Reaction score
1
Points
3
I'm hosting a symfony3 application and I have the parameters all set up correctly in parameters.yml:

database_host: 'localhost'
database_port: '3306'
database_name: 'matthe93_portfolio'
database_user: 'matthe93_matthew'
database_password: '******'

I am 100% sure I have the password set up correctly, as I've set the password multiple times.

But whenever I go to a page that uses MySQL, I get 500 Internal Server Error. I don't get that with pages that do not use MySQL, so I know this is a MySQL problem.

Am I doing something wrong or is there something I'm missing?
 

matthe93

New Member
Messages
11
Reaction score
1
Points
3
Never mind guys, I got it :) In case you have the same problem, I manually deleted my cache in the var/cache directory, and that miraculously worked. I've been at this problem for so long. It's 5 in the morning. I'm going to sleep.
 
Status
Not open for further replies.
Top