Add same functionalities for Mysql.