复制代码 代码如下:
dir > D:/myCodes/redirect.txt
dir > D:/myCodes/redirect.txt
TYPE D:/myCodes/redirect.txt
HELP
HELP TYPE
MySQL 中,
复制代码 代码如下:
mysql -uroot -p > D:/myCodes/log.txt
TYPE D:/myCodes/log.txt
mysql -uroot -p -e "SOURCE D:/myCodes/test.sql" > D:/myCodes/log.txt
复制代码 代码如下:
tee D:/myCodes/teeLog.txt
USE home;
SELECT * FROM customer;
notee;
EXIT;
TYPE D:/myCodes/teeLog.txt
复制代码 代码如下:
mysqldump -u root -p home > D:/myCodes/home_back.sql --default-character-set=utf8
mysqladmin -u root -p CREATE home1
mysql -u root -p home1 < D:/myCodes/home_back.sql --default-character-set=utf8
新闻热点
疑难解答