# documentation:2.0:mysqlminihowto
Keywords: documentation,2.0,mysqlminihowto

# Configure LemonLDAP::NG to use MySQL as main database

LL::NG use 2 internal databases to store its configuration and sessions.

## Use MySQL for Lemonldap::NG configuration

Steps:

- Prepare the database and the LL::NG configuration file
- Convert existing configuration
- Restart all your Apache servers

## Use MySQL for Lemonldap::NG sessions

Steps:

- Choose one of the following:
  - Using Apache::Session::Browseable::MySQL (recommended for best performances)
  - Using Apache::Session::MySQL (if you choose this option, then read how to increase MySQL performances)