database connection error
Author: admin admin Reference Number: AA-00213 Views: 12707 Created: 2011-08-08 17:39 Last Updated: 2013-03-25 11:24 0 Rating/ Voters

On paid premium accounts the database server host name can vary.

The only way to check it is to look in the left information bar in your cPanel.

It will be either sql.byethost??.org or localhost

the port is 3306 (standard)
To use a MySQL database with your PHP scripts;

1) Make a database in your cpanel/ Mysql section
2) Make a database user in your cpanel/ Mysql section
3) Add your user to your database, and grant all privileges / permissions.
4) In your file manager or ftp locate your script config file.

then edit / insert that username / password / database name you created into the config file.

please look at the video tutorials on our website and let us know if you still have any problems.

http://www.webhostingsearch.com/video-tutorials/how-to-create-a-mysql-database-in-cpanel.php
http://www.byethost.com/index.php/paid-hosting/cpanelvideotutorials

Quick Jump Menu