Index: lams_build/common.properties =================================================================== diff -u -r504d89d950a4725a3ce25e7ef1932ee6e857de68 -rf82e5ad0ac432a0c9e362ea3e010eae4d293c826 --- lams_build/common.properties (.../common.properties) (revision 504d89d950a4725a3ce25e7ef1932ee6e857de68) +++ lams_build/common.properties (.../common.properties) (revision f82e5ad0ac432a0c9e362ea3e010eae4d293c826) @@ -55,6 +55,7 @@ #======== END TOOL PROPERTIES ========= #======== DATABASE PROPERTIES ========= +db.host=localhost db.port=3306 db.name=lams db.username=lams @@ -69,7 +70,7 @@ db.location=C:/lams/database # To build LAMS using standalone MySQL server, use properties below -db.url.build=jdbc:mysql://localhost:${db.port}/${db.name}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useUnicode=true&useSSL=false +db.url.build=jdbc:mysql://${db.host}:${db.port}/${db.name}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useUnicode=true&useSSL=false db.url.init.build=${db.url.build} # To build LAMS using embedded MySQL server, use properties below @@ -80,7 +81,7 @@ #db.url.init.build=${db.url.build}&server.initialize-user=true&createDatabaseIfNotExist=true # To run LAMS using standalone MySQL server, use properties below -db.url.run=jdbc:mysql://localhost:${db.port}/${db.name} +db.url.run=jdbc:mysql://${db.host}:${db.port}/${db.name} # To run LAMS using embedded MySQL server, use properties below #db.url.run=jdbc:mysql:mxj://localhost:13306/${db.name}