Back to Programming Articles

Create Database in cPanel
by harmor19 05 Oct 2005

This tutorial will teach you how to create a database for use of mysql backend scripts not in Fantastico. (such as vbulletin)

Log into your cPanel, click "MySQL Databases" link.
On the next page you see field for the database name

In this field type vbforum (it can be anything though)
Click "Add Db" and when you come to the next screen click the "Go Back" link

Look for

UserName: user123
Password: pass123
(of course you can change the username and password to anything you like.)
Now click the "Add User" button then click the "go back" link

You should see two drop down boxes with a dozen checkboxes (pictured below)


Note: you may have a prefix before the database name and username


Our database name is "prefix_vbforum" and our username is "prefix_user123"
On the left drop down menu select "prefix_user123" and on the right select "prefix_vbforum"
Now just click the button named "Add User to Db" and that's it.

Now in the config.php file
$dbusername = 'prefix_user123';
$dbpassword = 'pass123';
$dbname = 'prefix_vbforum';

vblts.ru supports vBulletin®, 2022-2024