From 8bc3b29bd49d45ed2a0438f76b0d02f1cce57990 Mon Sep 17 00:00:00 2001 From: Henti Smith Date: Mon, 7 Jul 2008 09:20:24 +0200 Subject: [PATCH] * 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';