working with mysql server running sample