MySQL Forums
Forum List  »  InnoDB

Re: mysql create table with data directory: access denied
Posted by: X X
Date: July 30, 2021 08:36PM

I have the same problem
try this:
GRANT FILE,CREATE TABLESPACE,EXECUTE on *.* TO `user`@`%`;

create table t1 (c1 int) ENGINE = InnoDB DEFAULT data directory = '/mnt/ramdisk/mysql';

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysql create table with data directory: access denied
79
X X
July 30, 2021 08:36PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.