{"action":"created","issue":{"url":"https://api.github.com/repos/MyCATApache/Mycat-Server/issues/1594","repository_url":"https://api.github.com/repos/MyCATApache/Mycat-Server","labels_url":"https://api.github.com/repos/MyCATApache/Mycat-Server/issues/1594/labels{/name}","comments_url":"https://api.github.com/repos/MyCATApache/Mycat-Server/issues/1594/comments","events_url":"https://api.github.com/repos/MyCATApache/Mycat-Server/issues/1594/events","html_url":"https://github.com/MyCATApache/Mycat-Server/issues/1594","id":246636164,"number":1594,"title":"Sysbench 测试Mycat 连接丢失问题","user":{"login":"dandan32","id":13331376,"avatar_url":"https://avatars3.githubusercontent.com/u/13331376?v=4","gravatar_id":"","url":"https://api.github.com/users/dandan32","html_url":"https://github.com/dandan32","followers_url":"https://api.github.com/users/dandan32/followers","following_url":"https://api.github.com/users/dandan32/following{/other_user}","gists_url":"https://api.github.com/users/dandan32/gists{/gist_id}","starred_url":"https://api.github.com/users/dandan32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandan32/subscriptions","organizations_url":"https://api.github.com/users/dandan32/orgs","repos_url":"https://api.github.com/users/dandan32/repos","events_url":"https://api.github.com/users/dandan32/events{/privacy}","received_events_url":"https://api.github.com/users/dandan32/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-07-31T03:32:20Z","updated_at":"2017-08-15T04:40:37Z","closed_at":null,"body":"场景：\r\n在用Sysbench 1.0测试Mycat、Mysql做对比\r\n问题：Sysbench 提示连接丢失\r\n\r\n```bash\r\n[xyz@ubuntu sysbench]$ ../../bin/sysbench './oltp_read_only.lua' --mysql_storage_engine=innodb --mysql-db=sbtest --mysql-port=3307 --mysql-host=\"127.0.0.1\" --mysql-user=root --mysql-password=123456  --table_size=1000000 --tables=1 run\r\nsysbench 1.0.8 (using bundled LuaJIT 2.1.0-beta2)\r\n\r\nRunning the test with following options:\r\nNumber of threads: 1\r\nInitializing random number generator from current time\r\n\r\n\r\nInitializing worker threads...\r\n\r\nThreads started!\r\n\r\nFATAL: mysql_stmt_execute() returned error 2013 (Lost connection to MySQL server during query) for query 'BEGIN'\r\nFATAL: `thread_run' function failed: ./oltp_common.lua:399: SQL error, errno = 2013, state = 'HY000': Lost connection to MySQL server during query\r\nError in my_thread_global_end(): 1 threads didn't exit\r\n\r\n```\r\n\r\n请问如何解决？？？TAT."},"comment":{"url":"https://api.github.com/repos/MyCATApache/Mycat-Server/issues/comments/322375839","html_url":"https://github.com/MyCATApache/Mycat-Server/issues/1594#issuecomment-322375839","issue_url":"https://api.github.com/repos/MyCATApache/Mycat-Server/issues/1594","id":322375839,"user":{"login":"yanjunli","id":23555830,"avatar_url":"https://avatars0.githubusercontent.com/u/23555830?v=4","gravatar_id":"","url":"https://api.github.com/users/yanjunli","html_url":"https://github.com/yanjunli","followers_url":"https://api.github.com/users/yanjunli/followers","following_url":"https://api.github.com/users/yanjunli/following{/other_user}","gists_url":"https://api.github.com/users/yanjunli/gists{/gist_id}","starred_url":"https://api.github.com/users/yanjunli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanjunli/subscriptions","organizations_url":"https://api.github.com/users/yanjunli/orgs","repos_url":"https://api.github.com/users/yanjunli/repos","events_url":"https://api.github.com/users/yanjunli/events{/privacy}","received_events_url":"https://api.github.com/users/yanjunli/received_events","type":"User","site_admin":false},"created_at":"2017-08-15T04:40:37Z","updated_at":"2017-08-15T04:40:37Z","body":"该问题已经修复.请更新最新源码"}}
{"actor":{"display_login":"yanjunli"}}