Added MySql Functionality