douqiu0796
2013-08-14 04:29
浏览 60
已采纳

最新的Xampp使用Xampp 1.4.4版本的mysql

Is there any way that I can combine PHP from xampp version 1.8.2 with MySQL from xampp version 1.4.4?

That is PHP 5.4.16 and MySQL 4.0.13

Unfortunately, I have to use that version of MySQL for my project, and wanted the latest that I can work with CI.

I tried to run the latest Apache from xampp and the old MySQL but when I use mysql_connect I see the following error:

Warning:
mysql_connect(): Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.13- max-debug

Warning:
mysql_connect(): Connecting to 3.22, 3.23 & 4.0 servers is not supported

Any help would be appreciated, even if the answer says that it's not possible to combine the two.

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dsq30861 2013-08-14 12:48
    已采纳

    Don't waste time combining old with new parts.

    If you (i guess) need to re-use your old databases, just use the latest XAMPP verison and backup all your databases folders XAMPP/xamppfiles/var/mysql/, which you'll can move then into the new directory located in XAMPP/xamppfiles/var/mysql/.

    they are just folders you can backup and re-use ;)

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题