Skip to content

Commit d12269e

Browse files
committed
note section updated
1 parent ae061e5 commit d12269e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,16 @@ And finally, update your databases configuration by changing the ``ENGINE`` fiel
3737
}
3838
}
3939
40-
**Note**: Since Django uses the default utf8mb3 charset for your tables and it's not supported by PlanetScale's engine yet, you may need to add ``{"charset": "utf8mb4"}`` in order to migrate your changes and get it work.
40+
**Note**: Since Django uses the ``UTF-8`` charset and it points to ``utf8mb3`` in MySQL and this charset is deprecated in MySQL 8, you may need to add ``{"charset": "utf8mb4"}`` and migrate your chanegs with no problem.
41+
42+
.. code:: diff
43+
44+
...
45+
-'OPTIONS': {'ssl': {'ca': os.environ.get('MYSQL_ATTR_SSL_CA')}}
46+
+'OPTIONS': {'ssl': {'ca': os.environ.get('MYSQL_ATTR_SSL_CA')}, 'charset': 'utf8mb4'}
47+
...
4148
4249
Requirements
4350
------------
44-
- django>=2.2
45-
- mysqlclient>=2.1.0
51+
- django >= 2.2
52+
- mysqlclient >= 2.1.0

0 commit comments

Comments
 (0)