nicholas
06-29-2003, 07:26 AM
In your control panel
http://www.yourwebsite.com/cpanel
You have a control center for setting up databases, its under the heading
MYSQL
Firstly you setup your new database, then you setup a user and password, then you must click
Add User to Database.
In your Config file that is associated with your new MYSQL database you do need to set out the information in the format below
Host: localhost
Database Name: youraccountusername_databasename
Database User: youraccountusername_databaseusername
Password: justthepassword
Note* youraccountusername is the same username you use to login to Cpanel and run your ftp uploads with.
http://www.yourwebsite.com/cpanel
You have a control center for setting up databases, its under the heading
MYSQL
Firstly you setup your new database, then you setup a user and password, then you must click
Add User to Database.
In your Config file that is associated with your new MYSQL database you do need to set out the information in the format below
Host: localhost
Database Name: youraccountusername_databasename
Database User: youraccountusername_databaseusername
Password: justthepassword
Note* youraccountusername is the same username you use to login to Cpanel and run your ftp uploads with.