The windows system uses the cmd command line to export a certain table data of mysql

Click Start to enter the command line, assuming that the t_article_base table data under the tomtopportal database is exported to the E:/hello.txt file. The execution command is as follows:

mysqldump -h localhost -u root -p tomtopportal t_article_base >e:\hello.txt

The command line instructs to enter the root user password of mysql (the mysql installation is the set password), enter the correct password to export successfully

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326847914&siteId=291194637
Recommended