Subscribe to Acqal
Got Thoughts? Write Us!
Approved TYPO3 Agency
Acqal is an approved TYPO3 agency focusing on support, training and website migration.
This means that we...
- are available on TYPO3.org
- make substantial contributions to TYPO3 teams
- are registered as business members of the TYPO3 Association
- have completed more than four TYPO3 projects
- have proven our technical abilities with quality TYPO3 extensions
- use TYPO3 for our own website
Popular Blog Posts
Tech Tuesday Went Snowboarding at T3BOARD09
TYPO3 and Other Open Source WCM Systems Dissed Again
Automatic tt_news META descriptions via Acqal's extension aqnewsmeta
TYPO3, comments and Gravatar via Acqal's extension comments_gravatar
TYPO3 Extension cbstarter Version 1.3.2 Released
Sunday at T3BOARD09 in Laax, Switzerland
Not Good, Not Bad, Just Different
Increase TYPO3 Workspace Relation Limits
Getting Help With TYPO3
Looking into TYPO3 Webhosting?
Blog Topics
Virgil on Twitter

Recent Blog Posts
US Political Campaign Websites - The Basics
My Talk at T3CON10 Dallas - TYPO3 User jobs and Tasks
Dallas Barbeque Joint Reviews
T3CON10 Dallas
Acqal is Going Through Some Changes
Creating a MySQL Database for TYPO3 using CPanel
Acqal Promotes Biking and Families with World Vision
It's Official T3CON10-Dallas Web Site Launched! Join Us!
Create a simple "Contact Us" mail form in TYPO3
Configure TYPO3 for Localized Websites
Blog Archives
Creating a MySQL Database for TYPO3 using CPanel
Today, I created a development site for a support client's web site. A development (dev) server allows you to try all kinds of things without affecting the live site. Not everything can be done in the draft workspace on a live site, so dev sites are essential.
There are a number of ways to copy a site to another server, but as I was going through the process, I thought that some things tend to be taken for granted by writers of instructions. One of these things is actually creating a MySQL database for the new site. This applies to copied sites and completely new sites. Some writers assume you know how to do it. Others assume you know how to use a command line shell.
That is fine, but not everyone knows these things. If you have CPanel, it is extremely easy to create a database and a user for the database. Here's how:
Make sure you record the full database and User Names, as well as the User password, these will be needed to enter in the TYPO3 localconf.php file.
1. Log into your CPanel, scroll down to the "Databases" section and click "MySQL Databases."
2. Under "Create New Database" type in your database name and click "Create Database." Note that the database name you enter results in a full database name that includes your account User name, in this case "mjiacqa_typo3.
3. Now, you have to create a user for your database. Under "MySQL Users > Add New User" enter an appropriate name and a good password. Click "Create User."
4. Now you need to give the new user some privileges. Normally, you will select "All Privileges" for the main TYPO3 database. Click "Make Changes" to save the privileges.
5. Now you have to add the user to the database you created. Under "Add User to Database" select the user you just created and click "Add."
6. Now you can see that the user is associated with the database.
Next week: How to do a database dump using phpMyAdmin.
Keywords:
- mysql, typo3, database, cpanel


Add comment
* - required fieldhttp://one-generation.info