problem connecting to mysql database

Discussion in 'Installation/Configuration' started by conductive, Dec 9, 2015.

  1. conductive

    conductive Member HowtoForge Supporter

    I am running wheezy and Nginx with ispconfig3., ect can connect without problem using.

     @ $db = mysql_pconnect("localhost", "mriservi_spin321", "rad69diags") or die('Could not connect: ' . mysql_error());
    When I create new sites with domains or they will not connect to localhost.

    I have have tried connecting to, and my ip without luck.

    What form for localhost or directive do I need to use?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you check in phpmyadmin that the new databases and database users for the new sites exist? If they dont exist, check that the correct root mysql passwrd is set in /usr/local/ispconfig/server/lib/mysql_clientdb.conf

Share This Page