2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/build/exe/doliwamp/mysqltestinstall.bat.install
Laurent Destailleur d4c7f3e407 Add doc info
2009-09-04 22:59:38 +00:00

26 lines
885 B
Plaintext

@echo off
REM ------------------------------------------------------------
REM Launch a test to connect to mysql
REM $Id$
REM ------------------------------------------------------------
REM To change password, run following SQL command:
REM GRANT ALL ON *.* TO login@localhost IDENTIFIED BY "newpassword"
echo -----------------------------------------------------------
echo This programm wil test a login on Mysql installed
echo by DoliWamp.
echo Version: WAMPMYSQLVERSION
echo Port: WAMPMYSQLPORT
echo -----------------------------------------------------------
echo If login is successull, type "quit" and enter twice to exit.
echo ------------------------------------------------------------
SET SAVES=
SET /P SAVES=Enter password to test:
echo Try to connect to mysql with this password
.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysql -P WAMPMYSQLPORT -u root -p%SAVES%
pause