阅读背景:

使用Powershell对MySQL运行SQL脚本

来源:互联网 

I have a Powershell script that backs up my MySQL DB's each night using mysqldump. This all works fine but I would like to extend the script to update a reporting db (db1) from the backup of the prod db (db2). I have written the following test script but it does not work. I have a feeling the problem is the reading of the sql file to the CommandText but I am not sure how to debug. I have a Powershell script that backs up my MyS




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: