Before we can start persisting our components into a database, we have to actually tell Railo Server about that database. In your MySQL database, create a new empty database, either by using a Graphical User Interface (GUI) tool or by using the command line utilities:
1. At the command line, enter the following command to log into the
mysql
console:> mysql -u root p
2. When prompted, enter your password.
3. Enter the following to create a database called
railoblog:
> CREATE DATABASE railoblog;
4.
mysql
should reply with: Query OK, 1 row affected (0.10 sec)Query OK, 1 row affected (0.10 sec)