- Timestamp:
- 07/25/08 02:30:52 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/1.3.x/metadata/model/util/update-scripts-to-latest.sh
r4947 r5036 46 46 #create database openmrs default charset utf8; 47 47 #use openmrs; 48 echo Done. 48 49 49 50 echo "" 51 echo "" 50 52 echo WARNING!!! 51 echo Change the \"create database\" line to: \"create database openmrs default character set utf8;\" 52 echo You will also have to put these lines into the createdb-from-scratch after the \"create database...\" statement 53 echo WARNING!!! 54 echo WARNING!!! 55 echo Change the \"create database\" line to: \"create database openmrs default character set utf8\;\" 56 echo You will also have to put the following lines into the createdb-from-scratch after that \"create database...\" statement 53 57 echo DELETE FROM mysql.user WHERE User=\'test\'\; 54 echo CREATE USER test IDENTIFIED BY \'test\'\; 58 echo flush privileges\; 59 echo CREATE USER \'test\'@\'localhost\' IDENTIFIED BY \'test\'\; 55 60 echo GRANT ALL ON openmrs.* TO test\; 56 61 echo "" 57 echo Also change the \"schema only\" file to have : \"INSERT INTO global_property VALUES (\'database_version\',\'1.3.0.11\',NULL);\" with the latest version62 echo Also change the \"schema only\" file to have : \"INSERT INTO global_property VALUES \(\'database_version\',\'1.3.0.14\',NULL\)\;\" with the __latest_version__ 58 63 59 64 echo ""