Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SELECT command denied to user?

Posted on 2008-10-07
1
Medium Priority
?
750 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

730 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