run sql queries on mysql server