Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set MYSQLHOST=127.0.0.1
- :: Database Table Name (default is dm1)
- set mysqlschema=test2
- :: Username to access the database
- set mysqlpassword=test2
- :: Password to access the database
- set mysqluser=test2
- :: Path to mysql.exe file (default)
- set mysqlpath=C:\xampp\mysql\bin\
- :: Path to cleanup script file (the file with all of the cleanup code in it)
- set mysqlcleanup="D:\DZE_Server_Config\BattlEye\Bec\AUTORESTART_FILES\SQL\cleanup_1.sql"
- "%mysqlpath%\mysql.exe" -h %MYSQLHOST% --user=%mysqluser% --password=%mysqlpassword% --database=%mysqlschema% < %mysqlcleanup%
- ::PAUSE
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement