mysql创建用户、授权,revoke
use mysql;
set password for root =password('haowumz');
select host,user,password from user ;
show grants for fdb_dev;
create user fdb_test IDENTIFIED by 'test1204';
grant select,update,delete,insert,CREATE,ALTER on fdb_test.* to 'tm_jdbc'@'%';
flush privileges ;
revoke select,update,delete,insert on hoss_new.* from fdb_dev;
flush privileges ;
set password for root =password('haowumz');
select host,user,password from user ;
show grants for fdb_dev;
create user fdb_test IDENTIFIED by 'test1204';
grant select,update,delete,insert,CREATE,ALTER on fdb_test.* to 'tm_jdbc'@'%';
flush privileges ;
revoke select,update,delete,insert on hoss_new.* from fdb_dev;
flush privileges ;