mysqli persistent connection

前端 未结 3 801
暗喜
暗喜 2020-12-06 10:34

In short, is there some sort of mysqli_pconnect for high-usage PHP & MySQL servers, or do I need to stick with mysql

3条回答
  •  再見小時候
    2020-12-06 11:39

    Actually there is persistent support for mysqli library. Just prepend "p:" to the hostname and you're done.

提交回复
热议问题