Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

mysqlbackup fails everytime

User_CPA8PJun 13 2022 — edited Jun 13 2022

trigerring mysqlbackup (from a Windows service) always fails , exit code=9 (IO operation failed).
It works fine when triggered from command line
I used procmon to trace this, mysqlbackup does not even attempt to create the files
My application uses system call (from procmon logs):
C:\Windows\system32\cmd.exe /c mysqlbackup --user=root --password=passwordhehe --port=3306 --with-timestamp --backup-dir=C:\BackUp_MSQL\NBMYSQL_5688_1655104226 backup
The same command from command line works fine

Comments

Post Details

Added on Jun 13 2022
1 comment
276 views