Hi,
We created a PowerShell script to restore a MySQL database from a database dump file (.sql file). Halfway through, the script always results in an error:
•MySQL Server has stopped working. Windows is checking for a solution to the problem.
•MySQL Server has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
The same script works fine when ran manually using Toad.
And the same script runs fine as Powershell script when two major insert statements are commented out.
Can anyone please help me with a solution to this issue.
Thanks and Regards,
Kirti
We created a PowerShell script to restore a MySQL database from a database dump file (.sql file). Halfway through, the script always results in an error:
•MySQL Server has stopped working. Windows is checking for a solution to the problem.
•MySQL Server has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
The same script works fine when ran manually using Toad.
And the same script runs fine as Powershell script when two major insert statements are commented out.
Can anyone please help me with a solution to this issue.
Thanks and Regards,
Kirti