1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| show databases;
use mysql;
use go_zhuce
select user,host,plugin from user where user='go_user';
ALTER USER 'go_user'@'localhost' IDENTIFIED WITH mysql_native_password BY '自定义密码';
FLUSH PRIVILEGES;
show tables;
desc bulletins;
select * from bulletins;
DELETE FROM bulletins WHERE id = 2;
|