# INFO url : jdbc:mysql://localhost:3306/Bible user: gwt-examples pass: password # create database and user mysql -u root -p create database Bible; CREATE USER 'gwt-examples' IDENTIFIED BY 'password'; grant all on Bible.* to 'gwt-examples'@'%' identified by "password"; #grant all on Bible.* to 'gwt-examples'@'192.168.1.10' identified by "password"; #grant all on Bible.* to 'gwt-examples'@'localhost' identified by "password"; commit; quit; # get gwt examples cd ${HOME} svn checkout http://gwt-examples.googlecode.com/svn/trunk/ gwt-examples # fill database wget http://kent.dl.sourceforge.net/sourceforge/phpmybible/database_0.5.1.sql -P /tmp cat /tmp/database_0.5.1.sql | mysql --host=localhost --user=gwt-examples --password=password Bible