I am running wheezy and Nginx with ispconfig3. mydomain1.com, mydomain2.com ect can connect without problem using. Code: @ $db = mysql_pconnect("localhost", "mriservi_spin321", "rad69diags") or die('Could not connect: ' . mysql_error()); When I create new sites with domains sld.Mydomain1.com or sld.Mydomain2.com they will not connect to localhost. I have have tried connecting to mydomain1.com, mydomain2.com and my ip without luck. What form for localhost or directive do I need to use?
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