Remember Me
forgot your password?

Create, Remove and Repair a MySQL or PostgreSQL Database in cPanel

This article will explain you on how to manage MySQL or PostgreSQL database in cPanel. After logging into cPanel you will find the MySQL or PostgreSQL icons. CPanel screen lets you to create or work with those types of databases. CPanel uses a similar interface for both types of databases, that’s why most of the web host offers MySQL.

On the MySQL/PostgreSQL cpanel screen you will see four main sections as shown in the figure below. The very first section lets you to create and work with the database. Below that there is another section which allows you to create database users that will be able to access the databases. Next section is to setup remote access to your databases only if your web host allows. At last there is a hyperlink given to phpMyAdmin or phpPgAdmin, the web interfaces for advanced work with your databases.

MySQL PostgreSQL Database cPanel Hosting

How to create a database?

Its not so hard to create database, but there are few things you will need to know. The first thing you are gonna need to create database is the last item in database section. Just write the name of the database into the Db: field and simply click on Add Db button. The database of the name will be created. There will be slightly difference in actual database name you have chosen. It will be created with your cPanel username and with an underscore added before the name you chosen. For example: domain_database1.

How to create a database user?

To use a created database you need atleast one user into the database. For creating a new user simply type a username and password in the “users:” section and click on Add User. A new user will be created immediately. The database username will look like this “domain_robin“.

Now, how to add a user to the database?

Now you have to associate the above created user with the database. Now, if you check out the above Add Db field it has a set of drop-down lists. The first field allows you to select a user that you have created and in second field you have to select the database that you want to associate with that user. Now just click on Add User to Db and its done. Also, you can add a single user to multiple databases if you wish to.

Once you have associated a user with the database you will notice that the listing for that database get more detailed. It will show you the database name followed by some links to delete or repair the database and then you will be able to see all the users in the database. Also, it will show you some sample code that shows you how to connect to the database in PHP, Perl or JDBC script.

How to remove or repair a database?

Just next to the username there is a button called Delete, but this can be confusing as deleting a user from a database will only remove the user and all the records the user had in that database. It will not affect the actual user you created, it will still work in other databases. As well as there is Check button given to check database for problems, and if it has any errors just click on Repair. And still if that doesn’t work then you must contact your web host.

Robin Dale

Robin Dale is the publisher of Teeky.org, we offer useful & quality articles and news about Search Engine Optimization, Internet Marketing, Dedicated Server Hosting, Windows VPS Hosting, Linux VPS Hosting UK, e-commerce hosting, cPanel Hosting, hosting tips & UK Web Hosting. For More Articles, Visit Us @ cPanel Hosting

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Databases Articles
  • More from Robin Dale

Know more about compact flash 16gb

By: philipwots | 31/12/2009
It is almost a known fact that compact flash 16gb is a mass storage device format which is used in portable electronic devices in the market.

Pass4side 000-111 exam questions

By: Adela1987 | 30/12/2009
Pass4side 000-111 Exam Resources include Questions and Answers, Practice Testing Software, Stud Guides, Audio Learning and Preparation Labs. These IBM 000-111 Exam Preparation Materials will make you provide the accurate answers of real 000-111 exam questions. With our Exam Resources you can test your knowledge and readiness for exam, assess your performance in a given time, get scores and highlighted weaknesses with suggestions to improve the weak areas.

8 GB USB DRIVE

By: Phillip Roth | 29/12/2009
USB flash drive consists of a small printed circuit board carrying the circuit elements and a USB connector insulated electrically and protected inside a plastic, metal, or rubberized case which can be carried in a pocket.

Support Information About AA Online

By: Ed Philips | 26/12/2009
Discover how to quit drinking as revealed in Ed Philips "Alcoholics Anonymous Online" support guide, which offers tried and tested alcoholic addiction methods to quit drinking within 21 days.

Know the information USB sticks

By: John Milton | 24/12/2009
Now in the market there is high demand of usb sticks among its users. Seeing this the producers of usb sticks now focussing more on its reliability.

A Photography Course For All The Family

By: Dan Feildman | 23/12/2009
Excellent Digital Photography Courses Introducing Free Digital Photography Guide called "How To Take Beautiful Digital Pics Made Simple". The latest tips on how to use a digital camera like a pro.

Reinforce Database Management with Remote DBA

By: Kashif Mukhtar | 23/12/2009
Databases are the foundation of the digital economy. They store the information that run businesses and organize the vast amount of data that is created on a regular basis. Even though e-business infrastructures are requiring stronger database support to sustain their 24x7 operations, shrinking IT budgets are forcing companies to reduce the size of their DBA staff. With databases growing in size and complexity, the role of the already overburdened DBA is becoming increasingly difficult.

Download Full Version Movies - Downloading Movies Have Never Been Easier - Download as much and as often as you like for one fee!

By: Dimitar Mishev | 22/12/2009
We as movie watchers have come a long way since the introduction of movie tapes and watching movies from our home. From beta max to the VCR tapes, we have rented and recorded thousands of movies and still do.

Fully Managed Windows Dedicated Server Hosting

By: Robin Dale | 08/12/2009 | Web Hosting
Basically, a dedicated server is a single server, mostly preferred by large businesses and dedicated solely to one single client. There are many advantages of dedicated server hosting such as easily customizable, Excellent Server Uptime, 24×7 tech support, freedom on email functionality, flexible, etc.

Dedicated Server Hosting : Server Management

By: Robin Dale | 07/12/2009 | Web Hosting
Well, saying about managed services on dedicated hosting, the server management services differs from provider to provider and their terms. There is no standard set for defining the role of dedidcated server providers. Some of the website hosting providers offer a fully managed dedicated server as owning a web based control panel while some state that they have a fully professional system engineers available to provide round the clock server management support.

Useful Applications for Your Linux Dedicated Server

By: Robin Dale | 07/12/2009 | Web Hosting
Lately, we have been talking about the Linux Dedicated Servers, in this article I am going to show you the three important tools which are useful for your Linux Dedicated Server Hosting. A fact that most of the people belonging to the website hosting industry knows that the products and applications released for Linux are FREE. The tools listed below are also free to download on Internet.

How to Improve Security on Dedicated Servers?

By: Robin Dale | 03/12/2009 | Web Hosting
Server Security is the main concern for most of the clients or webmasters while choosing a web hosting service provider. Compare to other web hosting package, dedicated server security is much more secure. When you are using a shared hosting account, you have to share your server and resources so security concerns are already down.

Social Networking Site with Phenomenal Ranking

By: Robin Dale | 07/10/2009 | SEO
Social Networking sites have always been given an importance and are vital to improve the SEO of your website. They play a significant role in improving your website ranking in various search engines. Your website ranking totally depends on the effort you put into SEO, if you put more effort your ranking will be more better on different search engines, as a result which will benefit you in terms of huge web traffic.

Website Hosting with Total Freedom

By: Robin Dale | 06/10/2009 | Web Hosting
Compare to shared web hosting, dedicated servers may seem to be a little bit costly, but the advantages of hosting your website on a dedicated server are much significantly worth it. Dedicated server hosting or a dedicated server is a type of Internet Hosting in which the customer or a client leases a whole server. In dedicated server hosting you have a total freedom over the server to select your choice of operating system, hardware, etc as well as the server hardware is owned by the provider

Golden SEO Tips for Precious Search Engine Submission

By: Robin Dale | 24/09/2009 | SEO
Search Engine Submission is the very first critical step for any webmaster to submit a newly created website directly to major search engines to drive quality and organic traffic. There are various promotional techniques, but search engine submission is often seen as a way to promote a website. To give a boost to your website, Website Promotion and Search Engine Optimization is always needed. The SEO consists of various important elements, but this article will specially focus on the first step

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.28, 1, w3)