Quantcast
Viewing latest article 1
Browse Latest Browse All 6

mysql’s useful … sqls

Create a new user: 

grant all on mydb.* to myuser@localhost identified by 'mypass';

show grants for ‘username’@'localhost’

revoke all privileges on db_name.* from ‘username’@'localhost’

drop user ‘username’@'localhost’


Viewing latest article 1
Browse Latest Browse All 6

Trending Articles