Subscribe to Acqal

Got Thoughts? Write Us!

Contact
Request
Validate

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

Acqal is a TYPO3 Association Business Member

Popular Blog Posts

Blog Topics

Virgil on Twitter

Please wait while virgilhuston tweets load Twitter is loading

Recent Blog Posts

Blog Archives

Creating a MySQL Database for TYPO3 using CPanel

Friday, January 15, 2010 7:54 PM EST

By: Virgil Huston

voting in progress Submitting your vote...
Not rated yet. Be the first who rates this item!
Click the rating bar to rate this item.

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

Please Share This Post

Tweet thisRedditBookmark on deliciousStumble thisShare on Facebook

Send this article via email to your friends and peers.

Leave a Comment

Add comment

* - required field







Notify me when a new comment is added.
By grand theft auto on Tuesday, May 11, 2010 1:24 AM EDT
Gravatar: grand theft auto grand theft auto san andreas multiplayer iv warez torrent download dvd screener hack dvdrip scr vostfr part 1 of
http://one-generation.info