use mysql;
create user NOME_DO_USUARIO@’%’ identified by ‘SENHA’
grant select, update, insert (all privileges libera todos comandos) on NOME_DO_BANCO.TABELAS (* libera todas) to NOME_USUARIO@’%’; (% indica qualquer ip, se por o ip não há necessidade das aspas).