Can't connect to MySQL

Discussion in 'Free Hosting' started by matthe93, Dec 27, 2017.

  1. matthe93

    matthe93 New Member

    Messages:
    2
    Likes Received:
    1
    Trophy 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?
     
  2. matthe93

    matthe93 New Member

    Messages:
    2
    Likes Received:
    1
    Trophy 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.
     
    • Like Like x 1
  3. mechanel

    mechanel New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1

Share This Page