In this post, I will go through how to install mysql on Raspberry Pi 2. Installing mysql is much simpler than installing Apache Tomcat as it can be done via apt-get
sudo apt-get install mysql-server
During the setup, you would be prompted to set a password for your sql server. Do remember the password that you had set as you would need that later.
After the setup is complete, you may access the mysql server with the password above by typing the following.
mysql -u root -p
[Updated 25 July 2016]
I had forgotten an important step during my initial post.
It is important to do the below as well to ensure that you have the mysql-connector, without this you will run into jdbc driver error.
sudo apt-get install libmysql-java