CREATE USER 'obp'@'%' IDENTIFIED BY 'obp';
GRANT all privileges ON obp_xa_dev.* TO 'obp'@'%'
grant all privileges on obp_xa_dev.* to obp@localhost identified by 'obp'; 注意:如果使用localhost,则只能本地访问,如果需要远程访问需要修改为‘%’
drop user obp@'%';
drop user obp@'%';
flush privileges;