Bug – problem with MySQL file path on Windows servers?
-
I’m running WP-DBManager on a Windows server. I recently encountered the issue of empty database backups being reported and zero-byte files being written to the backup directory. After searching this forum and trying various solutions, I discovered the problem is the presence of one of more spaces in the Windows file path to MySQL commands. For example:
D:\MySQL\MySQL Server 5.5\bin
Once I created a space-less folder named called D:\MySQL\bin, copied mysql.exe and mysqldump.exe into the new folder, and changed the options in WP-DBManager to point to the space-less folder, the backup completed successfully.
I’m sure that a previous version of the plug-in worked properly when dealing with a MySQL path with spaces in it, so I’m guessing that the PHP scripts aren’t handling Windows file paths properly anymore (at least ones with spaces).
Let me know if this makes sense and/or if this will be addressed in a future update. Otherwise I’ll need to make the same mods for each of my client websites running on the server.
- The topic ‘Bug – problem with MySQL file path on Windows servers?’ is closed to new replies.