Henti Smith : * fix user grant syntax to correctly grant permissions

Chris Morgan cmorgan at winehq.org
Mon Jul 7 21:12:12 CDT 2008


Module: appdb
Branch: master
Commit: 8bc3b29bd49d45ed2a0438f76b0d02f1cce57990
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=8bc3b29bd49d45ed2a0438f76b0d02f1cce57990

Author: Henti Smith <henti at lsd.co.za>
Date:   Mon Jul  7 09:20:24 2008 +0200

* fix user grant syntax to correctly grant permissions

---

 tables/bugzilla_tables.sql   |    3 +--
 tables/create_apidb_base.sql |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/tables/bugzilla_tables.sql b/tables/bugzilla_tables.sql
index 316b365..82bca0b 100644
--- a/tables/bugzilla_tables.sql
+++ b/tables/bugzilla_tables.sql
@@ -3,8 +3,7 @@ create database if not exists bugs;
 use bugs;
 
 /* make sure the wineowner user has access to the bugs database */
-grant all on bugs.* to wineowner;
-
+grant all on bugs.* to 'wineowner'@'localhost';
 drop table if exists versions;
 
 
diff --git a/tables/create_apidb_base.sql b/tables/create_apidb_base.sql
index cb73f2e..dd33972 100644
--- a/tables/create_apidb_base.sql
+++ b/tables/create_apidb_base.sql
@@ -1,2 +1,2 @@
 create database if not exists apidb;
-grant all on apidb.* to wineowner;
+grant all on apidb.* to 'wineowner'@'localhost';




More information about the wine-cvs mailing list