added mysql server functionality