martin-rohwedder / MySQL-Backup-Manager

MySQL Backup Manager is a simple software solution for backing up MySQL Databases automatically. It uses a Windows service for the backup process and has an GUI attached for administrating which databases needs backup
http://martin-rohwedder.github.io/MySQL-Backup-Manager/
30 stars 33 forks source link

If Path to "mysqldump.exe" DEFERENT FROM DEFAULT MySQL Install #41

Open ahrarrbo opened 8 years ago

ahrarrbo commented 8 years ago

Hi, Hope if you could help me in this issue. when excuting a DB backup i got the following error on the LOG file: 2016-05-04 13:43 - ERROR - Unknown exception occurred during backup: System.ComponentModel.Win32Exception (0x80004005): Le fichier spécifié est introuvable à System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) à System.Diagnostics.Process.Start() à System.Diagnostics.Process.Start(ProcessStartInfo startInfo) à MySQLBackup.Application.Backup.MySQLDumpProcess.ProcessMySqlDump(Guid databaseId) Le fichier spécifié est introuvable, means:The file was not found. I belive that MySQL-Backup-Manager App looks for the "mysqldump.exe" in its default(MySQL Install) path="C:\Program Files (x86)\MySQL\MySQL Server 5.x\bin" and that why i am getting this error message, because My "mysqldump.exe" file is located in:"C:\Program Files (x86)\EasyPHP-Webserver-14.1b2\binaries\dbserver\bin\mysqldump.exe". If you could add an option in SETTINGS-->CONFIGURATION where to specify the path to the "mysqldump.exe" as you did it for the HOST:Port IF DEFERENT FROM DEFAULT(MySQL Install) Best Regards Ahmed

cbaerike commented 8 years ago

Hi ahrarrbo,

Please add "C:\Program Files (x86)\EasyPHP-Webserver-14.1b2\binaries\dbserver\bin\" to your system's PATH variable, then MySQL Backup Manager will find the mysqldump.exe file.

Adding this as a configuration parameter is planned for the future, but I have no ETA yet.