2
0
Эх сурвалжийг харах

*** empty log message ***

Jan Janak 23 жил өмнө
parent
commit
4f307e707e

+ 2 - 0
scripts/ser_mysql.sh

@@ -92,7 +92,9 @@ use $1;
 
 
 # Users: ser is the regular user, serro only for reading
 # Users: ser is the regular user, serro only for reading
 GRANT ALL PRIVILEGES ON $1.* TO $USERNAME IDENTIFIED  BY '$DEFAULT_PW';
 GRANT ALL PRIVILEGES ON $1.* TO $USERNAME IDENTIFIED  BY '$DEFAULT_PW';
+GRANT ALL PRIVILEGES ON $1.* TO ${USERNAME}@$DBHOST IDENTIFIED BY '$DEFAULT_PW';
 GRANT SELECT ON $1.* TO $ROUSER IDENTIFIED BY '$RO_PW';
 GRANT SELECT ON $1.* TO $ROUSER IDENTIFIED BY '$RO_PW';
+GRANT SELECT ON $1.* TO ${ROUSER}@$DBHOST IDENTIFIED BY '$RO_PW';
 
 
 
 
 #
 #