grant necessary privileges to mysql user