This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,899 Users
  • 2,269,649 Discussions


mysqlbackup fails everytime

User_CPA8P Member Posts: 2 Green Ribbon

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