MySQL grant file permission to a user -
MySQL grant file permission to a user -
mysql grant file permission user
i need give file permission user in mysql database.
syntax:
grant file on *.* 'uname'@'localhost' identified 'pwd';
i error .im not roor user .
error code: 1045 access denied user 'uname'@'localhost' (using password: yes)
you mentioned:
im not roor user .
your user has have grant option
privilege in order grant permissions other users. seek root, or have root user grant grant option
user.
mysql> grant privileges on dbname.* 'yourusername'@'%' ;
is not enough; need:
mysql> grant privileges on dbname.* 'yourusername'@'%' grant option;
mysql
Comments
Post a Comment