Web Hosting Forums

Web Hosting

Discussion Forums

HowTo Create a mysql database in CPANEL

This is a discussion on HowTo Create a mysql database in CPANEL within the HowTo Tutorials for web hosting forums, part of the Virtual Hosting Forums category; There are 3 steps to creating a database. Login to your cPanel with your account username/password and click on '...


Go Back   Web Hosting Forums > Virtual Hosting Forums > HowTo Tutorials for web hosting

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-31-2007, 09:39 AM
michael_s's Avatar
AABox Staff
 
Join Date: Dec 2003
Posts: 89
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default HowTo Create a mysql database in CPANEL

There are 3 steps to creating a database. Login to your cPanel with your account username/password and click on 'mySQL Database'. This is the database management screen. To create a database you need to perform the following 3 steps:

1. Create a database. In the database section type in the desired database name and click "Add Db".

2. Create a database user. Do this by typing in the desired username and clicking "Add User".

Note: when creating a database user you need to assign a password to this user. Make sure to record this password because you will need it to access your database.


3. Add the database user you created in step 2 to the database you created in step 1. Do this with the drop down menus and click on "Add User to Db". This is the most common step that is missed by new clients and failure to complete this step will prevent you from accessing your new database.

CPanel will add your cPanel username to both the database name and the database user name. As an example, let's say your account username is 'mysite' and you created the database 'forum' and the database user 'john' with a password of 'ght55' in your control panel. Your database information would be:

Database Address: localhost
Database Name: mysite_forum
Database User: mysite_john
Database User Pass: ght55
__________________
Michael Sasek
AABox Staff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
HowTo Create POP email accounts in CPANEL michael_s HowTo Tutorials for web hosting 0 03-31-2007 09:37 AM


All times are GMT -8. The time now is 06:16 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2002-2008 AABox Web Hosting