sign inHome | Recent Changes | All Pages | HelpSearch:

MySQL Add Database

Login as an admin user

testbox:~# mysql -u tarzan -pIswingOnVines
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 13
Server version: 5.0.32-Debian_7etch6-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> 

Create a database. For easiest setup, we suggest you call the database applicationname_environment. So the production environment for testapp would use a database called testapp_production.

mysql> CREATE DATABASE testapp_production;
Query OK, 1 row affected (0.02 sec)

Exit MySQL

mysql> quit

<< MySQL Add Users
Deploying your Rails application >>


Powered by JunebugWiki v0.0.28 Last edited by alexmalinovich on July 31, 2008 02:37 PM (diff)
Version 11 (current) «olderversions