Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
icinga
icinga-fix-create_mysqldb.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icinga-fix-create_mysqldb.patch of Package icinga
diff -rupN icinga-1.7.0.orig/module/idoutils/db/scripts/create_mysqldb.sh icinga-1.7.0/module/idoutils/db/scripts/create_mysqldb.sh --- icinga-1.7.0.orig/module/idoutils/db/scripts/create_mysqldb.sh 2012-05-15 15:00:56.000000000 +0200 +++ icinga-1.7.0/module/idoutils/db/scripts/create_mysqldb.sh 2012-06-15 17:12:43.998353127 +0200 @@ -40,7 +40,7 @@ echo "create new DB $DB, user $DBUSER an mysql -u $DBADMIN -h $DBHOST $P --verbose >$WD/create_mysqldb.log mysql <<EOS2 CREATE DATABASE $DB; CREATE USER '$DBUSER'@'$DBHOST' IDENTIFIED BY '$DBPASS'; - GRANT USAGE ON *.* TO '$DBUSER'@'$DBHOST' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0; + GRANT USAGE ON $DB.* TO '$DBUSER'@'$DBHOST' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0; GRANT SELECT , INSERT , UPDATE , DELETE ON $DB.* to '$DBUSER'@'$DBHOST'; FLUSH PRIVILEGES ; use $DB;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor