473,322 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Help - Permission problem...?

TBQ
I am getting "Access denied for user: 'MyAdmin@<ipaddress>' to database
'mydb'" when executing

REVOKE ALL ON mydb.* FROM 'Username'@'%'

The Revoke statement is being executed via MyODBC 3.51

The following query:shows the active permissions for the user 'MyAdmin':

SELECT U.User, U.Grant_priv as User_Grant,
D.Db, D.Grant_priv as DB_Grant,
T.Table_name, T.Grantor, Table_priv
FROM user as U
INNER JOIN db as D
ON D.User = U.User
AND D.Host = U.Host
LEFT OUTER JOIN tables_priv as T
ON T.User = D.User
AND T.Host = D.Host
AND T.Db = D.Db
WHERE U.User = 'MyAdmin'
ORDER BY D.Db, T.Table_name

and it returns:
(Format as monospaced font and remove extraneous line breaks):

Host User User. Db Db. Table_name Table_priv
Grant_priv Grant_priv Grantor
-----+---------+-----------+-------+----------+-------+------+-----------
% CL.Admin N mydb Y (NULL) (NULL) (NULL)
% CL.Admin N mysql N (NULL) (NULL) (NULL)
-----+---------+-----------+-------+----------+-------+------+-----------

The MySQL documentation indicates that if the required User permission is
not set, MySQL will check the DB permission.

So why am I getting this error?

TIA,
Tore.
Jul 19 '05 #1
0 1231

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cláudia Morgado | last post by:
Hello! Good Morning! My name´s Carla and I work how System Analyse in company Widesoft Sistemas. Currently we work with the Oracle and we are studying a possible migration for the Postgre. ...
10
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more...
3
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
6
by: Steve Richter | last post by:
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty...
2
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
0
by: Larry | last post by:
Hi, I'm a C#/SQL Server developer and I'm having a technical problem with Windows Domain permissions. My problem has nothing to do with development but I thought maybe someone out there would be...
0
by: V4D3R | last post by:
Hey guys, this is my first post here! I have an assignment due on Tuesday and I have to create a command that will make it easier on noobs to change permissions and delete files, etc. I call...
1
by: fireline1082 | last post by:
HI ALL PLEASE HELP ME. I am stuck on this point and can't do any progress in my project. Currently, I am using Domain Environment. I have Active directory and I want every users when they...
0
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
3
by: vb2008 | last post by:
So I am trying to figure out a new part now but I am getting stuck once again and yes I have been reading up on things and I think I know what my problem is I am just not sure how to fix it. Below is...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.