Gossamer Forum
Home : Products : Others : MySQLMan :

Permissions

Quote Reply
Permissions
I've granted all permissions on a certain database to a specific user so does anyone know why I get permission denied running this query from mysqlman:

SELECT * INTO OUTFILE '/path/to/tmp/file' FIELDS TERMINATED BY '|' ESCAPED BY '\\' LINES TERMINATED BY '\n' FROM table_name;

I can do it as root but as the user it gives.....

MySQL Said: Access denied for user: 'user@localhost' (Using password: YES).

Thanks.

Last edited by:

RedRum: Oct 8, 2001, 11:56 AM
Quote Reply
Re: [RedRum] Permissions In reply to
muRdeR Lucky you !
you got it to work almost :)

mysql gives you this error when you trying to access with wrong username or password

make sure it's correct and you have changed password on the server

mysqladmin -user root password "typepasswordhere"

Last edited by:

videokef: Oct 11, 2001, 11:33 AM
Quote Reply
Re: [videokef] Permissions In reply to
Yeah I know when that error occurs - thats why Im confused because the username/password is correct as I can run any other query but that.
Quote Reply
Re: [PaulW] Permissions In reply to
Same error here.

The user name and password are correct, but the darned thing won't let me export a table Mad

Would anyone know what might be the problem?

Thanks.

------------------------------------------
Quote Reply
Re: [DogTags] Permissions In reply to
** bump **

------------------------------------------
Quote Reply
Re: [DogTags] Permissions In reply to
Get your host to update your mysql privs. This error is caused by you not having full permissions on your database:

GRANT ALL ON database.* TO username@localhost IDENTIFIED BY 'password';


Last edited by:

RedRum: Jan 2, 2002, 6:03 AM
Quote Reply
Re: [RedRum] Permissions In reply to
Specifically you don't have FILE access permission. For some reason this is a common setting on ISP's. They will remove FILE access which disabled the import/export abilities.

Need to ask your ISP to give your user FILE permissions.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Permissions In reply to
Thank you very kindly, Alex and RedRum!

Will check into this.

------------------------------------------