This tutorial assumes that you have a 64-bit installation of Debian Wheezy and are running as the root user.
First, we'll install and configure MySQL.
apt-get install mysql-server
mysql -u root -p
Enter your root password that you set when installing MySQL and execute these queries: