这个一般的mysql教程上都有,就是一般的grant命令
grant select,update,delete,insert on *.* to newuser@localhost identified by 'password';