?
Solved

SELECT command denied to user?

Posted on 2008-10-07
1
Medium Priority
?
758 Views
Last Modified: 2012-05-05
can someone please help i don't know that much about mysql server and this problem is driving me mad....

I am using a free CMS system and when i try to add a new page or a new comment etc i get the following error:
SELECT command denied to user 'savaega1e1'@'ICSERVER-cf1.lnc.net' for table 'tables'

now i have emailed the CMS company and they have stated that they dont have a table called 'tables' (which i have checked and they dont) and the version i am using is stable so it must be something to do with my permissions, it has nothing to do with the CMS. ok so its a mysql issues then....

I have my own dedicated server, but use a remote database server from my hosting company, i have never had permission issues before. why would the error be asking for a table which does not exist nor does the code ask for?

no one can give me the answer or fix this issue here, even our database host say i have remote permissions and all should work.

Thanks
0
Comment
Question by:pigmentarts
1 Comment
 
LVL 51

Accepted Solution

by:
Steve Bink earned 2000 total points
ID: 22665853
>>> they have stated that they dont have a table called 'tables'

The better question is what is causing your app to access table 'tables'.  If the CMS does not include or use it, you need to find out what is.

In the meantime, use 'SHOW GRANTS' to see what users and permissions have been set up.  You can use the same syntax to add grants for a specific user/host.  See here for the full syntax:

http://dev.mysql.com/doc/refman/5.1/en/grant.html
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question