Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 3rd, 2006, 06:27 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 482
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default MySQL said: select command denied to user: 'root@

Hi friends,
i'm getting one error says MySQL said: select command denied to user: 'root@localhost' for table 'xxxxxxxx'

not only this erro even i can not access any tables in the databse,

i'm using 3rd party web tool for access, unix server....

u know it was working fine suddnlly i click GRANT or REVOKE (can not remember) after that this was happen, even i can not do anything,
please help me

surendran
(Anything is Possible)
__________________
surendran
(Anything is Possible)
http://www.suren.info
http://ssuren.spaces.msn.com
Reply With Quote
The Following User Says Thank You to surendran For This Useful Post:
  #2 (permalink)  
Old February 13th, 2006, 04:56 AM
Friend of Wrox
 
Join Date: Jan 2006
Location: San Francisco, CA, USA.
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmm, are you sure that you have access to the root user? Perhaps your MySQL user on your 3rd party web host is the same as the user you use for FTP, etc. Can you use a mysql client locally to connect to the hosted server using your assumed credentials?

Jon Emerson
http://www.jonemerson.net/
Reply With Quote
  #3 (permalink)  
Old September 9th, 2010, 12:27 AM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Other solution for same errormessage

Quote:
Originally Posted by surendran View Post
Hi friends,
i'm getting one error says MySQL said: select command denied to user: 'root@localhost' for table 'xxxxxxxx'

not only this erro even i can not access any tables in the databse,

i'm using 3rd party web tool for access, unix server....

u know it was working fine suddnlly i click GRANT or REVOKE (can not remember) after that this was happen, even i can not do anything,
please help me

surendran
(Anything is Possible)
Writing a new small program
I ran on the same errormessage by
mysql_query("SELECT fields FROM dbame.tablename")

The solution proved to be in
another=better formulation of the mysql_query:
mysql_query("SELECT fields FROM tablename").

mysql_query("SELECT fields FROM dbame.tablename")
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL "Select Denied to user" Problem djidave ASP.NET 2.0 Professional 5 May 29th, 2007 03:06 PM
MySQL "Select Denied to user" Problem djidave ASP.NET 2.0 Professional 2 May 25th, 2007 04:38 PM
SELECT permission denied on object 'Shippers' imtiaz_786 ASP.NET 1.0 and 1.1 Basics 1 September 18th, 2006 12:24 PM
Moving the MySQL Database Root Directory miguelm BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 26th, 2005 01:13 PM
Mysql access denied pratheeba Java GUI 1 November 20th, 2003 04:39 AM



All times are GMT -4. The time now is 07:40 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.