Joomla 2.5: Lesson 8 - Database installation - Command Line
This is the third possible method of creating a database. Only follow these steps if you have been unable to create a database using one of the previous two options. Once you're done, move on to lesson 9 - Web Installer.