Merge "Update the mysql documentation concerning charsets"
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user