summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-04-30 02:11:48 (EDT)
committerEike Stepper2006-04-30 02:11:48 (EDT)
commitc5fdc074e0b55bcf0f6df88a8fbe5a73f21e4d48 (patch)
treef8971af0e9ba1df1adbc611f76b7218cee82a44d
parent2b181d5f260a5bca84e6835d397cc8f8aafc8d6c (diff)
downloadcdo-c5fdc074e0b55bcf0f6df88a8fbe5a73f21e4d48.zip
cdo-c5fdc074e0b55bcf0f6df88a8fbe5a73f21e4d48.tar.gz
cdo-c5fdc074e0b55bcf0f6df88a8fbe5a73f21e4d48.tar.bz2
Fixed 137982.
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat20
1 files changed, 12 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat b/plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat
index 66e7657..3a2f8cd 100644
--- a/plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat
+++ b/plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat
@@ -1,9 +1,13 @@
-set ROOTPW=montages
-set USER=test@localhost
-set PASSWORD=test
-set DATABASE=cdoTest
+@echo off
-mysql -u root -p%ROOTPW% -e "drop database if exists %DATABASE%" mysql
-mysql -u root -p%ROOTPW% -e "create database %DATABASE%" mysql
-mysql -u root -p%ROOTPW% -e "create user %USER% identified by '%PASSWORD%'" mysql
-mysql -u root -p%ROOTPW% -e "grant all privileges on %DATABASE%.* to %USER%" mysql
+mysql -u test -ptest -e "drop database if exists cdoTest; create database cdoTest" mysql
+
+rem set ROOTPW=rIstec0o
+rem set USER=test@localhost
+rem set PASSWORD=test
+rem set DATABASE=cdoTest
+
+rem mysql -u root -p%ROOTPW% -e "drop database if exists %DATABASE%" mysql
+rem mysql -u root -p%ROOTPW% -e "create database %DATABASE%" mysql
+rem mysql -u root -p%ROOTPW% -e "create user %USER% identified by '%PASSWORD%'" mysql
+rem mysql -u root -p%ROOTPW% -e "grant all privileges on %DATABASE%.* to %USER%" mysql