Before you begin, you should be familiar with standard database maintenance procedures.
For more information about MySQL, see the following references:
The following database tools can be helpful:
Review the MySQL requirements listed in Section 2.1, Vibe Server Requirements.
Make sure that the MySQL database server and client have been installed and configured, as described in Section A.2, MySQL Database Server.
Make sure that the MySQL database client is also installed on the Vibe server.
The Vibe installation program needs the MySQL client in order to communicate with the remote MySQL database server.
Make sure that you know the password for the MySQL root administrator user.
Make sure that innodb support is enabled.
It is enabled by default. To verify that innodb support is enabled:
Enter the following command to access the MySQL monitor:
mysql -u root -p
For information on how to set a password for your MySQL database if you have not already done so, see Configuring MySQL.
Specify your password.
From the mysql prompt, enter the following command to display status information about the server’s storage engines:
SHOW ENGINES\G
Locate the InnoDB engine, and ensure that innodb support is enabled.
Update the MySQL configuration file:
Locate the MySQL configuration file and open it in a text editor.
Under the [client] section, add the following line:
default_character_set = utf8
Under the [mysqld] section, add the following line:
character_set_server = utf8
Setting the character set to UTF-8 ensures that extended characters are handled correctly in the database.
(Conditional) For a system with multiple network interfaces, under the [mysqld] section, add the following line:
bind-address = mysql_server_address
Replace mysql_server_address with the IP address that you want MySQL to bind to and to listen on.
Save the updated configuration file, then exit the text editor.
In the directory where you copied the database scripts (Step 4 in Section 13.1, Preparing to Manually Create a Database), enter the following command to run the MySQL database creation script:
mysql -uuser -ppassword < create-database-mysql.sql
Configure MySQL to allow access from a remote server:
mysql -uuser -ppassword mysql> grant all privileges on *.* -> to 'username'@'%' -> identified by 'password' -> with grant option -> ;
Skip to Section 13.5, Installing Vibe with a Remote Database.