按照gateway手冊mysql例子,在onWorkerStart里初始化比較合適
謝謝,一開始沒在Gateway里找到mysql的例子,就去看workerman的,回來再在gateway里找onWorkerStart又找不到,原來是自己添加的。