From 36105d9060dd3f0e0bdc1f3d3989866958747c4b Mon Sep 17 00:00:00 2001
From: Martijn Vermaat <martijn@vermaat.name>
Date: Mon, 10 Aug 2015 21:28:17 +0200
Subject: [PATCH] Update docs with charset=utf8 for MySQL

---
 doc/config.rst  | 8 ++++----
 doc/install.rst | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/config.rst b/doc/config.rst
index dea8a8b3..4d43c420 100644
--- a/doc/config.rst
+++ b/doc/config.rst
@@ -65,13 +65,13 @@ DATABASE_URI
   SQLAlchemy database connection URI specifying the database used to store
   users, samples, variants, etcetera.
 
-  ================   =====================================================
+  ================   =============================================================
   Database system    Example URI
-  ================   =====================================================
+  ================   =============================================================
   PostgreSQL         ``postgresql://mutalyzer:*****@localhost/mutalyzer``
-  MySQL              ``mysql://mutalyzer:*****@localhost/mutalyzer``
+  MySQL              ``mysql://mutalyzer:*****@localhost/mutalyzer?charset=utf8``
   SQLite             ``sqlite:////tmp/mutalyzer.db``
-  ================   =====================================================
+  ================   =============================================================
 
   See the SQLAlchemy documentation on
   `Engine Configuration
diff --git a/doc/install.rst b/doc/install.rst
index 3db1005f..1a9f1118 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -188,7 +188,7 @@ the Mutalyzer settings file, e.g.:
 
 .. code-block:: python
 
-    DATABASE_URI = 'mysql://mutalyzer:*****@localhost/mutalyzer'
+    DATABASE_URI = 'mysql://mutalyzer:*****@localhost/mutalyzer?charset=utf8'
 
 .. seealso::
 
-- 
GitLab