[MDEV-18126] Connect-Table-Type MYSQL: access denied when create table Created: 2019-01-03 Updated: 2019-01-03 Resolved: 2019-01-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Create Table, Storage Engine - Connect |
| Affects Version/s: | 10.3.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Karsten Budde | Assignee: | Olivier Bertrand |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | connect-engine | ||
| Environment: |
CentOS Linux release 7.5.1804 (Core) |
||
| Description |
|
Hello, I want to use a connect-table between two mariaDB databases. When I run the following statement as user1 in db1:
in db1 table test1 is created. When I run the following statement as user1 in db1:
I get the error
Then I create user user1 in db2 on host2 with all privileges and retry creating the conntect-table. But I get always the error
I don't know, what is wrong. Please help me. Regards, |
| Comments |
| Comment by Karsten Budde [ 2019-01-03 ] | ||||||||
|
Hello, as root-user in db1 I can run the statement without errors:
Then I test all global priviliges to user1. On privileges FILE the statement runs also for user1 without errors. In the documentation I found only for file-based connect-tables (https://mariadb.com/kb/en/library/inward-and-outward-tables/), that the privilege FILE is needed. Is a connect-table MYSQL a file-based connet-table? Regard, | ||||||||
| Comment by Olivier Bertrand [ 2019-01-03 ] | ||||||||
|
Is a connect-table MYSQL a file-based connect-table? Generably speaking, this MYSQL table type was written principally for internal use by other types like TBL or partition tables when they target a non CONNECT table. In case of such trouble, you may want to use the FEDERATED(X) storage engine, which does the same things the CONNECT MYSQL type does. |