Cannot connect to mysql database

Discussion in 'Installation/Configuration' started by rsteuer, Apr 9, 2018.

  1. rsteuer

    rsteuer Member

    We've installed a new webserver with ISPConfig3. Everything went fine and can create new websites and databases. We can access the databases via phpmyadmin and/or the CLI. However, when we attempt to create a connection to the database through the website front end, we receive a generic error stating "Error connecting to SQL server".

    We've commented out the bind statement and also tried binding to, but there's no difference. We're able to telnet to port 3306 and receive a banner. We've changed the php script from localhost to and to the IP of the server. None of these have helped.

    The MySQL database resides on the same web server.
  2. rsteuer

    rsteuer Member

    By the way, nothing in the MySQL, apache or syslog log files.
  3. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    sounds like a problem in the website code .. is it something common, or completely custom? there's probably a more useful error code returned to the frontend which it isn't displaying, but just saying "error connecting"

Share This Page