I\'m having troubles with a certain query on one of my servers. On all other places I\'ve tested it it works completely fine but on the server i want to use it it isn\'t wor
I run into this problem as well, the case with me was incorrect naming . I was migrating from local server to online server. my SQL command had "database.tablename.column" structure. the name of database in online server was different. for example my code was "pet.item.name" while it needed to be "pet_app.item.name" changing database name solved my problem.
This is th privileges issue in your database users. first check and grant permission to user 'marco' in localhost
This error also arises for a syntax error occurred due to aliasing tablename.
For instance, when executed below query,
select * from a.table1, b.table2 where a.table1= b.table2
below error occurs:
MySQL Error: #1142. Response form the database. SELECT command denied to user "username@ip" for table "table1"
Solution : Syntax to alias tablename should be used proper, syntax solution for above instance >select * from table1 a, table2 b where a.table1= b.table2
In MySQL query browser go to Tools tab>MySQL Administrator > User Administration and then give the privileges to user.
I just emptied my session data then it worked again. Here is where you find the button:
I had this problem too and for me, the problem was that I moved to a new server and the database I was trying to connect to with my PHP code changed from "my_Database" to "my_database".