Database Setup
The database is where all of the information for your website is stored. In this appendix, we’re going to create a database and database user, and then give that database user privileges to interact with the database.
Since cPanel is the most popular hosting control panel, we will use it in our examples. If you are not using cPanel, these instructions should loosely correspond to the process in your host’s control panel. You may need to consult your hosting provider for specific information.
Let’s get started by logging in:
Navigate to http://www.<yourdomain>.com/cpanel.
When prompted, enter in your login credentials. If you don’t know them, refer to any documentation that you may have received from your host when you signed up.
Find and click the icon titled MySQL Databases. The icon should look like Figure A-1, but, depending on your version of cPanel, it may be different.

Figure A-1. cPanel icon for MySQL Databases
In the New Database: field, enter joomla or whatever you would like for a database name as shown in Figure A-2.
Figure A-2. New database
Click Create Database.
On the success screen, click [ Go Back ] to return to the MySQL Databases screen.
Note
Make a note of the actual database name. Typically, cPanel will prefix the database name with the account username.
In our ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access