|
|
@@ -41,8 +41,8 @@ class Events
|
|
|
public static function onWorkerStart($worker)
|
|
|
{
|
|
|
if (empty(self::$db)) {
|
|
|
- self::$db = new \Workerman\MySQL\Connection('192.168.2.168', '3306', 'vali', '123456', 'customer_service');
|
|
|
- //self::$db = new \Workerman\MySQL\Connection('192.168.2.200', '3306', 'vali', '1234', 'customer_service');
|
|
|
+ //self::$db = new \Workerman\MySQL\Connection('192.168.2.168', '3306', 'vali', '123456', 'customer_service');
|
|
|
+ self::$db = new \Workerman\MySQL\Connection('192.168.2.200', '3306', 'vali', '1234', 'customer_service');
|
|
|
}
|
|
|
|
|
|
|