12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
ADADADADAD
mysql数据库 时间:2024-11-28 13:03:21
作者:文/会员上传
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
有的时候不想进入mysql 可以使用如下sqlmysql -uroot -p123456 -e "show variables like '%cache%'"mysql -u root -p -e "use zxlh; select * from test"#数据写入
以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。
有的时候不想进入mysql 可以使用如下sql
mysql -uroot -p123456 -e "show variables like '%cache%'"
mysql -u root -p -e "use zxlh; select * from test"
#数据写入文件
mysql-uroot-p123456-e"usezxlh;select*fromtest;">/opt/soft/mysql/data/test.sql
Warning:Usingapasswordonthecommandlineinterfacecanbeinsecure. 可以忽略 只是警告
#mysqladmin 直接查看参数 每2秒一次
mysql extended-status -r -i 2 grep open_tables
11-20
11-19
11-20
11-20
11-20
11-19
11-20
11-20
11-19
11-20
11-19
11-19
11-19
11-19
11-19
11-19