SQL syntax error version 4.1.22

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Grahamhart
Forum Commoner
Posts: 27
Joined: Wed Jun 11, 2008 6:05 am

SQL syntax error version 4.1.22

Post by Grahamhart »

hi,

I just started using SQL and built a query tool, which connects to my web providers mySQL server and seems to be interacting. Only every time I use any command like SHOW DATABASES or CREATE DATABASE databasename I get this crappy message "Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Resource id #1SHOW DATABASES' at line 1"

accoring to my SQL book and the online manuals I have seen this is the correct syntax for version 4.1.22?

could anyone help me please?
hansford
Forum Commoner
Posts: 91
Joined: Mon May 26, 2008 12:38 am

Re: SQL syntax error version 4.1.22

Post by hansford »

please post your query and any relevant code.
Post Reply