Site updated at 2017-10-06 06:24:30 UTC

This commit is contained in:
Travis CI 2017-10-06 06:24:30 +00:00
parent 97eec190bf
commit b54e5f62f4
28 changed files with 70 additions and 70 deletions

View file

@ -195,12 +195,12 @@
<p>Not all Python bindings for the chosen database engine can be installed directly. This section contains additional details which should help you to get it working.</p>
<h3><a class="title-link" name="maridb-and-mysql" href="#maridb-and-mysql"></a> MariDB and MySQL</h3>
<p>For MariaDB you may have to install a few dependencies. On the Python side we use the <code class="highlighter-rouge">mysqlclient</code>:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install libmariadbclient-dev
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install libmariadbclient-dev libssl-dev
<span class="gp">$ </span>pip3 install mysqlclient
</code></pre>
</div>
<p>For MySQL you may have to install a few dependencies. You can choose between <code class="highlighter-rouge">pymysql</code> and <code class="highlighter-rouge">mysqlclient</code>:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install default-libmysqlclient-dev
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install default-libmysqlclient-dev libssl-dev
<span class="gp">$ </span>pip3 install mysqlclient
</code></pre>
</div>