Skip to content

Installation: Create the production database

acozine edited this page Jun 12, 2013 · 14 revisions

Create the mysql databases for your production server.

  1. Log in to mysql: mysql -u root -p
    Enter mysql root pw, which you set when you configured mysql-server. These instructions are shown with the mysql prompt and the expected output. To copy the commands into your shell, copy everything AFTER the > up to the semicolon; the expected output is shown in italics.
    mysql> CREATE DATABASE hd_production;
    Query OK, 1 row affected (0.00 sec)
    mysql>
GRANT ALL ON hd_production.* TO hdProd@localhost IDENTIFIED BY 'hdProd';

Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye

Clone this wiki locally