国产成人毛片视频|星空传媒久草视频|欧美激情草久视频|久久久久女女|久操超碰在线播放|亚洲强奸一区二区|五月天丁香社区在线|色婷婷成人丁香网|午夜欧美6666|纯肉无码91视频

redis為什么默認16個db php實現(xiàn)redis數據庫指定庫號遷移的方法?

php實現(xiàn)redis數據庫指定庫號遷移的方法?具體代碼如下:namespace appindexcontrollerusethinkdbuse thinkcachedriverredisclass i

php實現(xiàn)redis數據庫指定庫號遷移的方法?

具體代碼如下:namespace appindexcontrollerusethinkdbuse thinkcachedriverredisclass index{public function index(){$config=[“host”=>“server IP address”,“port”=>端口號,“password”=>“redis access password”,“select”=> 0,“timeout”=> 0,“expire”=> 0,“persistent”=> false,“prefix”=>“”,]$Redis=new Redis($config)$Redis->集(“test”,“test”)echo$Redis->集(“test”)}