add mysqldb lib and query fucntion from mysql