标签:mongos
Failed to connect to: 192.168.100.200:28018: send_package: error reading from socket: The socket is closed
错误写法
$server = ‘mongodb://10.10.41.25:38018/‘.$config[‘db_name‘].‘,10.10.41.25:28018/‘.$config[‘db_name‘].‘,10.10.41.25:48018/‘.$config[‘db_name‘];
正确写法
$server = ‘mongodb://192.168.100.74:28018,192.168.100.75:28018/‘.$config[‘db_name‘];
本文出自 “Linux SA John” 博客,请务必保留此出处http://john88wang.blog.51cto.com/2165294/1621626
标签:mongos
原文地址:http://john88wang.blog.51cto.com/2165294/1621626