Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
08/06/08 17:17:55 (5 months ago)
Author:
mseaton
Message:

synchronization_bidirectional_branch: merge from [4734] to [5181].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/data_synchronization_bidirectional/metadata/model/util/update-scripts-to-latest.sh

    r4969 r5183  
    1313 
    1414# Ask for the user's database password 
    15 echo -n "MySQL password: " 
     15echo -n "MySQL $dbuser password: " 
    1616stty -echo 
    1717read dbpass 
     
    4646#create database openmrs default charset utf8; 
    4747#use openmrs; 
     48echo Done. 
    4849 
    4950echo "" 
     51echo "" 
    5052echo 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 
     53echo WARNING!!! 
     54echo WARNING!!! 
     55echo Change the \"create database\" line to: \"create database openmrs default character set utf8\;\" 
     56echo You will also have to put the following lines into the createdb-from-scratch after that \"create database...\" statement 
    5357echo DELETE FROM mysql.user WHERE User=\'test\'\; 
    54 echo CREATE USER test IDENTIFIED BY \'test\'\; 
     58echo flush privileges\; 
     59echo CREATE USER \'test\'@\'localhost\' IDENTIFIED BY \'test\'\; 
    5560echo GRANT ALL ON openmrs.* TO test\; 
     61echo "" 
     62echo Also change the \"schema only\" file to have : \"INSERT INTO global_property VALUES \(\'database_version\',\'1.3.0.14\',NULL\)\;\" with the __latest_version__ 
    5663 
    5764echo ""