Skip to content
Snippets Groups Projects
Commit f7b9967b authored by Goik Martin's avatar Goik Martin
Browse files

CREATE DATABASE using UTF8 encoding

parent e21c7328
No related branches found
No related tags found
No related merge requests found
......@@ -326,9 +326,20 @@ Enter password:
... messages omitted for brevity ...
mysql&gt; <emphasis role="bold">create database hdm;</emphasis>
mysql&gt; <emphasis role="bold">create database hdm CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;</emphasis> <co
linkends="sda1_prereq_screen_mysqlCreateDatabase-1"
xml:id="sda1_prereq_screen_mysqlCreateDatabase-1-co"/>
Query OK, 1 row affected (0.00 sec)</screen>
<calloutlist>
<callout arearefs="sda1_prereq_screen_mysqlCreateDatabase-1-co"
xml:id="sda1_prereq_screen_mysqlCreateDatabase-1">
<para>This parameter setting mitigates key limitations, <link
xlink:href="https://stackoverflow.com/questions/20014106/how-to-create-this-table-1071-specified-key-was-too-long-max-key-length-is/42497309#answer-49233800">see
detailed explanation</link>.</para>
</callout>
</calloutlist>
<para>Following <uri
xlink:href="https://dev.mysql.com/doc/refman/5.5/en/adding-users.html">https://dev.mysql.com/doc/refman/5.5/en/adding-users.html</uri>
we add <code>hdmuser</code> as a new user and grant full access to the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment