Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 3rd, 2006, 07:27 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 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
The Following User Says Thank You to surendran For This Useful Post:
 
Old February 13th, 2006, 05:56 AM
Friend of Wrox
 
Join Date: Jan 2006
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/
 
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")





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 02:13 PM
Mysql access denied pratheeba Java GUI 1 November 20th, 2003 05:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.