Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo Please dont close Window while MySQL is running
- echo MySQL is trying to start
- echo Please wait ...
- echo MySQL is starting with mysql\bin\my.ini (console)
- pushd %~dp0mysql\
- bin\mysqld --defaults-file="bin/my.ini" --standalone --console
- popd
- if errorlevel 1 goto error
- goto finish
- :error
- echo.
- echo MySQL could not be started
- pause
- :finish
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement