I cannot connect to my phpmyadmin database

Avatar
  • Answered
I read the tutorials but I couldnt connect from my php webpage to the server
1=localhost, localhost:3306 or domain.com?
2=userdb or general user cpanel hosting?
3=pass
mysql_connect("1", "2","???");
Avatar
Arn
Hello Ebing, Sorry for the problem with connecting to your MySQL database using phpMyadmin. Typically, the connection made from the website to the database uses localhost:3306. Each created database comes with a username and a password. You should be using that username and password when accessing the database. If you require further assistance, then please contact our live technical support team. They can help with you access, but we cannot provide coding support for you. if you want more information of that nature, please see Connecting to a Database using PHP. If you have any further questions or comments, please let us know. Kindest regards, Arnel C.