[Toaster] [PATCH 06/10] toaster-manual: change mysql driver

Ed Bartosh ed.bartosh at linux.intel.com
Mon Jun 27 08:24:47 PDT 2016


Changed mysql driver to mysqlclient as MySQLdb doesn't
support Python 3 yet.

Here is a quote from Django 1.9 documentation regarding this:
mysqlclient is a fork of MySQLdb which notably supports
Python 3 and can be used as a drop-in replacement for
MySQLdb. At the time of this writing, this is the
recommended choice for using MySQL with Django.

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 documentation/toaster-manual/toaster-manual-setup-and-use.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/documentation/toaster-manual/toaster-manual-setup-and-use.xml b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
index 4349eb1..1c9be88 100644
--- a/documentation/toaster-manual/toaster-manual-setup-and-use.xml
+++ b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
@@ -265,8 +265,7 @@
                       <literallayout class='monospaced'>
    $ cd /var/www/toaster/
    $ pip3 install --user -r ./poky/bitbake/toaster-requirements.txt
-   $ pip3 install --user mysql
-   $ pip3 install --user MySQL-python
+   $ pip3 install --user mysqlclient
                       </literallayout>
                       <note>
                           Isolating these packages is not required but is
-- 
2.6.6



More information about the toaster mailing list