Mysql 运维:
mysql -uroot -p000000 -e "show variables like 'char%';"
mysql -uroot -p000000 -e "select sysdate();"
mysql -uroot -p000000 -e "select user();"
mysql -uroot -p000000 -e "show variables like '%storage_engine%';"
mysql -uroot -p000000 -e "show variables like 'have%'"
update user as u,local_user as lu set u.enabled=0 where u.id=lu.user_id and lu.name='neutron';
select enabled from user as u,local_user as lu where u.id=lu.user_id and lu.name='nova';
insert into mysql.user(host,user,password)values("localhost","examuser",password("000000"));
use mysql
select host,user,password from user;
grant select,delete,update,create on *.* to "examuser"@"localhost" identified by "000000";
select * from local_user order by id desc;
mysql -uroot -p000000 -e "select sysdate();"
mysql -uroot -p000000 -e "select user();"
mysql -uroot -p000000 -e "show variables like '%storage_engine%';"
mysql -uroot -p000000 -e "show variables like 'have%'"
update user as u,local_user as lu set u.enabled=0 where u.id=lu.user_id and lu.name='neutron';
select enabled from user as u,local_user as lu where u.id=lu.user_id and lu.name='nova';
insert into mysql.user(host,user,password)values("localhost","examuser",password("000000"));
use mysql
select host,user,password from user;
grant select,delete,update,create on *.* to "examuser"@"localhost" identified by "000000";
select * from local_user order by id desc;
上一篇:绿色(拼音)
下一篇:再审决定书
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
文章熱度:☆☆☆☆☆
文章難度:☆☆☆☆☆
文章質量:☆☆☆☆☆
說明:系統根據文章的熱度、難度、質量自動認證,已認證的文章將參與打字排名!
本文打字排名TOP20
- 1游客13157895... 05-26 21:22165 KPM
- 2自然即存在 04-09 12:48159 KPM
- 3游客12870926... 11-17 13:45139 KPM
- 4游客93953568 04-10 10:54123 KPM
- 5游客13013634... 11-16 13:56109 KPM
- 6草根时代 08-10 13:00108 KPM
- 7游客15222156... 07-17 21:3596 KPM
- 8浪琴惬意 12-24 20:4188 KPM
- 9游客11347333... 05-28 19:4180 KPM