Update mysql user create script

updated the mysql user create script to fix issues saying wrong password and also added flush privileges.