mysql使用md5列连接4个表

时间:2016-10-28 08:51:55

标签: php mysql join view

我在mysql中有四个大表连接md5字符串,如下所示

主表有md5字符串作为主键说

private WebSocket webSocket = new WebSocket.OnTextMessage() {
    @Override
    public void onMessage(String data) {
        //...
    }

    @Override
    public void onOpen(Connection connection) {
        //...
    }

    @Override
    public void onClose(int closeCode, String message) {
        //...
        // this is called after connection.close() 
    }
};

WebSocketClientFactory webSocketClientFactory = new WebSocketClientFactory();
public void start(){
    webSocketClientFactory.stop();
    String urlConnect = "wss://test.test.com:111111/websocket";
    webSocketClientFactory.setBufferSize(100000);
    webSocketClientFactory.start();
    WebSocketClient webSocketClient = webSocketClientFactory.newWebSocketClient();
    webSocketClient.setMaxBinaryMessageSize(100000);
    webSocketClient.setMaxTextMessageSize(100000);
    Future<WebSocket.Connection> connectionFuture = webSocketClient.open(URI.create(urlConnect), webSocket);
}
// .......
// after some time call this
public void stop(){
    try {
        connection.close(); //this is going fine, error comes after
    } catch (Throwable t) {
        t.printStackTrace();//this not called
    }
}

当我进行连接(内部或左侧或右侧)时,mysql服务正在停止。

我创建了一个视图,将所有列连接在一起,当从视图中获取时,mysql服务正在停止。

即使我选择的列数非常少,mysql服务也会被停止。

尝试了许多方式但没有结果..

任何人都可以帮助我如何从四个表中获得结果吗?

提前致谢

0 个答案:

没有答案