I am using replace.exe to generate a runtime ini file from a template ini file. This been working fine in 5.1. We are looking to move to 5.5 but I have not been able to get this utility to work, with even the simplest of files from command line. I am receiving the following error:
Replace.exe: Error reading file 'UNOPENED' (Errcode: 9)
To do basic testing, I created a file in the root called template.ini with this simgle line:
port=@Port@
I then tried running the following command
C:\MySQL 5.5>.\bin\Replace.exe @Port@ "3306" < template.ini > run.ini
I didn't see any changes in the usage but I don't consider myself an expert so I will take any suggestions to what I might be doing wrong. If I copy in the version from 5.1, the call works.
Any help is appreciated
-john
Replace.exe: Error reading file 'UNOPENED' (Errcode: 9)
To do basic testing, I created a file in the root called template.ini with this simgle line:
port=@Port@
I then tried running the following command
C:\MySQL 5.5>.\bin\Replace.exe @Port@ "3306" < template.ini > run.ini
I didn't see any changes in the usage but I don't consider myself an expert so I will take any suggestions to what I might be doing wrong. If I copy in the version from 5.1, the call works.
Any help is appreciated
-john