]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
NOJIRA fixed sql to fix the following error.
authorSanjay Dalal <sanjay.dalal@berkeley.edu>
Thu, 13 Aug 2009 17:06:03 +0000 (17:06 +0000)
committerSanjay Dalal <sanjay.dalal@berkeley.edu>
Thu, 13 Aug 2009 17:06:03 +0000 (17:06 +0000)
ERROR 1133 (42000): Can't find any matching row in the user table
+-------+------+-----------------------------------------------+
| Level | Code | Message                                       |
+-------+------+-----------------------------------------------+
| Error | 1133 | Can't find any matching row in the user table |
+-------+------+-----------------------------------------------+

M    src/main/resources/db/mysql/create_id_generators_table.sql

services/id/service/src/main/resources/db/mysql/create_id_generators_table.sql

index acf4295877e4864fd0e6da8d667174e581fdcbab..e1fb321ad1020320e54c5e6174dafe7f5d9ef701 100644 (file)
@@ -42,6 +42,7 @@ CREATE TABLE `id_generators` (
 
 GRANT SELECT, INSERT, UPDATE, DELETE
   on `id_generators`
-  to `test`;
+  to `test`@'localhost' IDENTIFIED BY 'test' WITH GRANT OPTION;
+FLUSH PRIVILEGES;
 
 SHOW WARNINGS;