This page details how to Install the Emulator on Linux.
First you must install MySQL from the repositories.
sudo apt-get mysql-server