MySQL PHP incompatibility

后端 未结 10 1845
天涯浪人
天涯浪人 2020-11-28 07:42

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

10条回答
  •  忘掉有多难
    2020-11-28 08:05

    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.

提交回复
热议问题