An Introduction To MySQL DatabasesJanuary 9th, 2008 · No Comments
If you don’t currently have a web host, header over to our list of web hosting plan that include a MySQL database. Creating A DatabaseWhile it’s possible to create your database through a command line, chances are you’ve got a control panel through which you can achieve this task. Today I’m gonna show you how to do this with cPanel but as long as you get the idea, you’ll be able to do it through any control panel. Now simply head over to your cPanel control panel and click on the MySQL Databases icon. In the New Database text box, enter the name you want for your database and hit Create Database. That’s it, you database has been created! Adding Users To Your DatabaseNow that you’ve got your database, you must add user rights to it. If you’re using cPanel, your control panel account name is probably giving you full access to all of your database. While this may be convenient for administration purposes, it is not a good idea to use this account in your scripts for performance and security reasons.
Specify a username and password for the newly created database in the Current Users section. Once you’ve added a user account, you must associate it with your database. In the Add Users To Your Databases section, select the user you’ve created as well as the database name from the drop down lists. Click on the Add User To Database button. Allowing Remote ConnectionAt this point, you will only be able to query your database from the webserver itself. If you need to access it remotely, you’ll need to specify from which host(s) you will connect.
So if you want to give access to a remote host, simply enter its IP address or its hostname to the Access Hosts list. That’s pretty much it, now you can use phpMyAdmin to manage your database online. If you’re using cPanel, follow the phpMyAdmin link at the bottom of the MySQL page. Related PostsPosted in Articles | No Comments |
Popular PostsLatest PostsLatest Deals & Coupons
Recent Comments
Hosting ReviewsRecent WebmastersTag Cloud
1and1
apache
bluehost
centos
cheap web hosting
control panel
coupon code
coupons
cpanel
dedicated servers
dreamhost
godaddy
godaddy vs 1and1
green web hosting
hostdime
hostgator
hostpapa
iis
inmotion hosting
knownhost
linux
lunarpages
mysql
openx
php
reseller hosting
shared hosting
system administration
vps
web hosting
web hosting comparison
Web Hosting Comparisons
whm
windows
windows 2008
|
|||||||||
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment