Merge "Update the mysql documentation concerning charsets"

This commit is contained in:
Shawn Pearce
2014-03-26 23:40:16 +00:00
committed by Gerrit Code Review

View File

@@ -52,11 +52,18 @@ rights on it:
CREATE USER 'gerrit2'@'localhost' IDENTIFIED BY 'secret';
CREATE DATABASE reviewdb;
ALTER DATABASE reviewdb charset=latin1;
GRANT ALL ON reviewdb.* TO 'gerrit2'@'localhost';
FLUSH PRIVILEGES;
----
If you are using the MyISAM engine, you need to set latin1 as charset:
----
mysql
ALTER DATABASE reviewdb charset=latin1;
----
Visit MySQL's link:http://dev.mysql.com/doc/[documentation] for further
information regarding using MySQL.