Sbcommand. AppendFormat (" mysqldump - quick - host="+ serviceIP +" - the default - character - set=GBK - lock - tables -- verbose -- force - port=3306 - user="+ UserId +" -- "=" + pass + "data - r " {0} \ "", the directory).
Sbcommand. AppendFormat (" mysqldump - quick - host="+ serviceIP +" - the default - character - set=GBK - lock - tables -- verbose -- force - port=3306 - user="+ UserId +" -- "=" + pass + "data person - where=id='5833' - master-data=https://bbs.csdn.net/topics/1 -r/" {0} " ", the directory).
CodePudding user response:
Export a single data table structureMysqldump -h localhost - uroot - proot - d database table & gt; SQL
table.
Export a single data table structure and data
The mysqldump - h localhost - uroot - proot database table & gt; SQL
table.According to the condition derived
The mysqldump uroot - proot database table - where="" - & gt; Table. The SQL
CodePudding user response: