Creating a Database

Now you need a database. Some hosting services allow you to have only one database. Often, this is already created for you when you sign in to your administration page. Others allow you to create your own database. If you have the choice of multiple databases with your own name, I suggest you create one called WordPress, if you can, but it doesn't matter what its name is, as long as you know that name. If you are creating a brand-new database, don't forget to give your database user account permission to access it.

These steps are usually carried out through some kind of control panel—software running on your server to allow you to administer your hosting space—provided by your hosting service. Hosting services provide many different control panels or administration pages. Although you rarely have a choice of which one you get, they should all be capable of allowing you to administer your database in various ways. Two of the most common control applications are Plesk (http://www.sw-soft.com/en/products/plesk/) and cPanel (http://www.cpanel.net/). Figures 14-1, 14-2, and Figure 14-3 illustrate adding a new database and user with the Plesk control panel.

Figure 14-1. Adding a new database icon in the Plesk control panel

^ Up Level

^ Up Level

Figure 14-2. Filling in the database name and selecting the type

Figure 14-3. Adding a user to the database

If you have the option, create a database user specifically for the use ofWordPress. That is, if you can, create a user and assign that user privileges to access the WordPress database you just created.

In the end, it doesn't actually matter whether you use an existing database or set up a new one. WordPress will quite happily share a database with any other application, including another installation ofWordPress.

Was this article helpful?

0 0

Post a comment