From 29f793a587790fad636c426ac281c6ee45cc8cd7 Mon Sep 17 00:00:00 2001 From: Matt Kassawara Date: Sat, 15 Mar 2014 12:47:08 -0600 Subject: [PATCH] Updated MySQL server configuration to use UTF-8 I updated the MySQL server configuration section to use the UTF-8 character set by default for table creation. I also modified the structure to use a procedure which agrees with conventions. Change-Id: I44fd8171ae27f21d44991f2942117fa42b8d3314 Closes-Bug: #1292934 --- doc/install-guide/ch_basics.xml | 39 +++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/doc/install-guide/ch_basics.xml b/doc/install-guide/ch_basics.xml index 1801874080..2d5767fdab 100644 --- a/doc/install-guide/ch_basics.xml +++ b/doc/install-guide/ch_basics.xml @@ -395,16 +395,37 @@ iface eth1 inet static for the root password for the database. Choose a strong password and remember it. - Edit /etc/mysql/my.cnf/etc/my.cnf and set the - bind-address to the internal IP address - of the controller, to enable access from outside the - controller node. - [mysqld] + The MySQL configuration requires some changes to work with + OpenStack. + + + Edit the + /etc/mysql/my.cnf file: + Edit the + /etc/my.cnf file: + + + Under the [mysqld] section, set the + bind-address key to the management IP + address of the controller node to enable access by other + nodes via the management network: + [mysqld] ... -bind-address = 192.168.0.10 +bind-address = 192.168.0.10 + + + Under the [mysqld] section, set the + following keys to enable the UTF-8 character set by + default: + [mysqld] +... +collation-server = utf8_general_ci +init-connect = 'SET NAMES utf8' +character-set-server = utf8 + + + + Restart the MySQL service to apply the changes: # service mysql restart