<h1class="sectionedit1"id="configure_lemonldapng_to_use_mysql_as_main_database">Configure LemonLDAP::NG to use MySQL as main database</h1>
<divclass="level1">
<p>
<abbrtitle="LemonLDAP::NG">LL::NG</abbr> use 2 internal databases to store its configuration and sessions.
</p>
</div>
<!-- EDIT1 SECTION "Configure LemonLDAP::NG to use MySQL as main database" [1-143] -->
<h2class="sectionedit2"id="use_mysql_for_lemonldapng_configuration">Use MySQL for Lemonldap::NG configuration</h2>
<divclass="level2">
<p>
Steps:
</p>
<ul>
<liclass="level1"><divclass="li"><ahref="sqlconfbackend.html"class="wikilink1"title="documentation:2.0:sqlconfbackend">Prepare the database and the LL::NG configuration file</a></div>
<liclass="level1"><divclass="li"> Restart all your Apache servers</div>
</li>
</ul>
</div>
<!-- EDIT2 SECTION "Use MySQL for Lemonldap::NG configuration" [144-377] -->
<h2class="sectionedit3"id="use_mysql_for_lemonldapng_sessions">Use MySQL for Lemonldap::NG sessions</h2>
<divclass="level2">
<p>
Steps:
</p>
<ul>
<liclass="level1"><divclass="li"> Choose one of the following:</div>
<ul>
<liclass="level2"><divclass="li"><ahref="browseablesessionbackend.html"class="wikilink1"title="documentation:2.0:browseablesessionbackend">Using Apache::Session::Browseable::MySQL</a> (recommended for best performances)</div>
</li>
<liclass="level2"><divclass="li"><ahref="sqlsessionbackend.html"class="wikilink1"title="documentation:2.0:sqlsessionbackend">Using Apache::Session::MySQL</a><em>(if you choose this option, then read <ahref="performances.html#apachesession_performances"class="wikilink1"title="documentation:2.0:performances">how to increase MySQL performances</a>)</em></div>
</li>
</ul>
</li>
</ul>
</div>
<!-- EDIT3 SECTION "Use MySQL for Lemonldap::NG sessions" [378-] --></div>