I\'m running WAMP locally, but connecting to a remote MySQL database. The local version of PHP is the latest 5.3.0.
One of the remote databases, being version 5.0.45
Reverting to PHP 5.2.* did the trick! THANK YOU!
If you're using WAMP... left click wamp > php > version> get more>
select the version you want and download.
install/run the exe
left click wamp > php > version> PHP 5.2.*
That fixed this issue. I couldn't run any of these SQL commands without getting a "command denied to user 'XXX'@'localhost'" error. Good look trying to log on as SU 'Root'. Maybe on a personal server, but not going to happen on a real host.