Help In Config

Knight Rider

New Member
Hi Guys...

I am making my forum but i don't know that how can i do or add mysql and database settings in Config.php...Can Some One Help Me...
Thankx

Here Is my Mysql Database

<!-- Removed for safety -->
 
I am assuming here that you have cPanel access. For purposes of example, we'll say your hosting account is called "myweb".

Choose the MySQL section of your cPanel homepage. Fill in the box with the name of your database, which we'll call "myvbdb" and click "Create Database". cPanel will probably prefix your database with your account name, therefore your database name will end up being "myweb_myvbdb".

Now your database will need a user assigned to it. The user will actually be vBulletin, so you have to let vB know the user name and password in the config.php file. In the MySQL section of cPanel, under MySQL Users -> New User, fill in a user name (we'll call "vbuser") and password (we'll call "vbpassword") and click Create User. Again, cPanel will probably prefix the user name with your account name, so your user name will come out as "myweb_vbuser". Just below that section will be Add User to Database. The myweb_vbuser and myweb_myvbdb will probably already be there but if they are not, use the pulldown to select them, then click Submit. You will get a screen where you select the user privileges. Your database user will need all privileges, so check the appropriate box and click Make Changes.

Your config.php file will therefore need to look like this:

Code:
	//	****** DATABASE NAME ******
	//	This is the name of the database where your vBulletin will be located.
	//	This must be created by your webhost.
$config['Database']['dbname'] = 'myweb_myvbdb';


...

	//	****** MASTER DATABASE USERNAME & PASSWORD ******
	//	This is the username and password you use to access MySQL.
	//	These must be obtained through your webhost.
$config['MasterServer']['username'] = 'myweb_vbuser';
$config['MasterServer']['password'] = 'vbpassword';

Your database is now setup and after you complete the other necessary info in config.php and upload your files, you should be ready to install.
 
Mega Lol & Rep to Hoxxy...

Last edited by Hoxxy; Today at 01:53 PM. Reason: Never post your database details!!!!!!!!!!!!!!!!!!!!!!


:D:D:D
 
Back
Top