Search code examples
phpmysqlsymfonyazurecleardb

Symfony site on Azure with ClearDB connection


I have an Azure Web App with a Symfony site installed and a separate Azure MySQL ClearDB. I can connect from my local computer to ClearDB using a MySql client but I can't manage to make connection from Symfony even though the connection details are identical. Anyone had this issue and knows how to get there?


Solution

  • I can't reproduce this.

    Maybe you could clear cache after editing parameters.yml file by running the following command:

    php bin/console cache:clear --env={dev|prod}