I'm on Windows 7. I'm trying to run a .bat file where I stop and start MySQL and run some other commands.
"C:\Program Files (x86)\EasyPHP\binaries\mysql\bin\mysqld.exe" results in starting
mysqld, which then occupies the prompt, and the other .bat commands are not run.
- I tried using
Start→ mysqld does not start
Start /B→ mysqld does not start
CMD /C→ mysqld just starts in the same window
Start /B startMysql.bat(a seperate bat that starts mysql) → mysqld does not start
I use this to test the commands:
@echo on CMD /C "C:\Program Files (x86)\EasyPHP\binaries\mysql\bin\mysqld.exe" timeout 2: PAUSE