I have registered a domain using some web hosting website and I logged into parallels plesk panel,I have uploaded my pages onto it but unable to connect to database does anyone know what would be three parameters would be?
$con = mysql_connect("localhost","root","");
what are the 3 fields i should fill in to connect to mysql on plesk panel, I registered domain just yesterday i am kinda new to this stuff.please help me, any help is greatly appreciated.
2
Answers
At its basic level any database connection needs location (host), username, and password. I would assume it would be all three of those, though I don’t have plesk panel experience.
it’s the
mysql host,username,password.
mysql_connect