MySQL PHP incompatibility

后端 未结 10 1844
天涯浪人
天涯浪人 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:13

    As the user Evernoob above said:

    "Reverting to PHP 5.2.* i.e. anything lower than 5.3.0 resolves the problem completely. As long as I am not running 5.3.0 I can connect to both databases. I'm not sure what the explanation is for this weirdness"

    In the case of connecting to a shared hose (in our case DreamHost), who is using the oldpassword option, we could not modify the users table. These suggested options will work in other scenarios, just not with shared web hosting.

    Of note, we are running WAMP.

提交回复
热议问题