useful (?) scripts

RSS Feed   RSS

Content

File: November 2009

Don’t ask me why scripting in batch is still necessary on the verge of the year 2010, however, what can you do when some clients still use Windows to host their MySQL servers…
REM Simple MySQL backup script per database
@echo off

REM Set some variables
set mysqlcmd="C:\Program Files\MySQL\MySQL Server 5.0\bin\mysql.exe"
set mysqlpwd=amazingsecretsamplepassword
set mysqlconnect=%mysqlcmd% -u root –password=%mysqlpwd%
set mysqldumper="C:\Program Files\MySQL\MySQL Server [...]

» » »

 ::  (Read the rest of this)