Index: win_installer/installer/templates/update-script.bat =================================================================== RCS file: /usr/local/cvsroot/win_installer/installer/templates/update-script.bat,v diff -u -r1.1 -r1.2 --- win_installer/installer/templates/update-script.bat 5 Apr 2012 20:56:59 -0000 1.1 +++ win_installer/installer/templates/update-script.bat 9 Apr 2012 20:51:57 -0000 1.2 @@ -4,9 +4,9 @@ start /b "" "%MYSQL_HOME%\bin\mysqld.exe" --no-defaults --console --port=13306 --max_allowed_packet=1M --key_buffer=16K --net_buffer_length=2K --basedir="%MYSQL_HOME%" --thread_stack=128K --read_rnd_buffer_size=256K --socket=mysql.sock --sort_buffer_size=64K --table_cache=4 --read_buffer_size=256K --datadir="%MYSQL_HOME%\data" --pid-file="%MYSQL_HOME%\data\MysqldResource.pid" REM Wait 10 seconds before we execute the script -PING localhost -n 11 > NUL -SET UPDATE_SQL_FILE="%INSTDIR%\update-sql-config.sql" -"%MYSQL_HOME%\bin\mysql.exe" -u lams -plamsdemo lams --port=13306 -e %UPDATE_SQL_FILE% +PING localhost -n 15 > NUL +SET UPDATE_SQL_FILE="%MYSQL_HOME%\update_lams_configuration.sql" +"%MYSQL_HOME%\bin\mysql.exe" --default-character-set=utf8 -u lams -plamsdemo lams --port=13306 < %UPDATE_SQL_FILE% > mysql_import.log REM Once the SQL script is processed, then turn off MySQL gracefully REM wait 5 seconds and then kill MySQLd