# Build md5sum mysql-5.6.40.tar.gz ba337c0f41f11ed6875665e968c9e20f mysql-5.6.40.tar.gz # env cat /etc/*release Oracle Linux Server release 7.1 NAME="Oracle Linux Server" VERSION="7.1" ID="ol" VERSION_ID="7.1" PRETTY_NAME="Oracle Linux Server 7.1" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:7:1" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://bugzilla.oracle.com/" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" ORACLE_BUGZILLA_PRODUCT_VERSION=7.1 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=7.1 Red Hat Enterprise Linux Server release 7.1 (Maipo) Oracle Linux Server release 7.1 -- cmake cmake --version cmake version 2.8.12.2 -- gcc 7.3.0 tar xzf gcc-7.3.0.tar.gz cd gcc-7.3.0 ./contrib/download_prerequisites cd .. rm -rf objdir mkdir objdir cd objdir $PWD/../gcc-7.3.0/configure --prefix=/export/umesh/utils/GCC-7.3.0 --enable-languages=c,c++ --disable-multilib make make install export LD_LIBRARY_PATH=/export/umesh/utils/GCC-7.3.0/lib64 export CC=/export/umesh/utils/GCC-7.3.0/bin/gcc export CPP=/export/umesh/utils/GCC-7.3.0/bin/cpp export CXX=/export/umesh/utils/GCC-7.3.0/bin/c++ -- make sure to apply patch from https://bugs.mysql.com/bug.php?id=91630 to compile asan build cmake .. -DCMAKE_INSTALL_PREFIX="/export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld" -DWITH_DEBUG=1 -DENABLE_DTRACE=0 -DWITH_ASAN=1 ASAN_OPTIONS="detect_leaks=0" make -j8 install make install export ASAN_OPTIONS="detect_leaks=0" cd /export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/mysql-test --concurrency=151 --iterations=1000 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql ## [umshastr@hod03]/export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/mysql-test: ./mtr rpl_PS-4475.test Logging: ./mtr rpl_PS-4475.test 2018-07-27 13:41:07 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path. 2018-07-27 13:41:07 0 [Note] /export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/sql/mysqld (mysqld 5.6.40-debug) starting as process 18671 ... 2018-07-27 13:41:07 18671 [Note] Plugin 'FEDERATED' is disabled. 2018-07-27 13:41:07 18671 [Note] Binlog end 2018-07-27 13:41:07 18671 [Note] Shutting down plugin 'CSV' 2018-07-27 13:41:07 18671 [Note] Shutting down plugin 'MyISAM' MySQL Version 5.6.40 Checking supported features... - SSL connections supported - binaries are debug compiled Collecting tests... Checking leftover processes... - found old pid 18245 in 'mysqld.1.pid', killing it... process did not exist! - found old pid 18264 in 'mysqld.2.pid', killing it... process did not exist! Removing old var directory... Creating var directory '/export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/mysql-test/var'... Installing system database... Using parallel: 1 ============================================================================== TEST RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection master] create database sbtest; CREATE TABLE sbtest.sbtest1 ( `id` int(11) NOT NULL AUTO_INCREMENT, `k` int(11) NOT NULL DEFAULT '0', `c` char(120) NOT NULL DEFAULT '', `pad` char(60) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `k_1` (`k`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; stop slave; main.rpl_PS-4475 [ fail ] Test ended at 2018-07-27 13:43:32 CURRENT_TEST: main.rpl_PS-4475 mysqltest: At line 35: query 'show full processlist' failed: 2013: Lost connection to MySQL server during query Server [mysqld.2 - pid: 18715, winpid: 18715, exit: 256] failed during test run Server log from this test: ----------SERVER LOG START----------- 2018-07-27 14:41:11 0 [Warning] The syntax '--master-retry-count' is deprecated and will be removed in a future release. Please use 'CHANGE MASTER TO master_retry_count = ' instead. 2018-07-27 14:41:11 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2018-07-27 14:41:11 0 [Warning] Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory. 2018-07-27 14:41:11 0 [Warning] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory. 2018-07-27 14:41:11 0 [Note] /export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/sql/mysqld (mysqld 5.6.40-debug-log) starting as process 18716 ... 2018-07-27 14:41:11 18716 [Warning] setrlimit could not change the size of core files to 'infinity'; We may not be able to generate a core file on signals 2018-07-27 14:41:11 18716 [Note] Plugin 'FEDERATED' is disabled. 2018-07-27 14:41:11 18716 [Warning] The option innodb (skip-innodb) is deprecated and will be removed in a future release 2018-07-27 14:41:11 7f84c938a7c0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 2018-07-27 14:41:11 18716 [Note] InnoDB: Using atomics to ref count buffer pool pages 2018-07-27 14:41:11 7f84c938a7c0 InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2018-07-27 14:41:11 7f84c938a7c0 InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!! 2018-07-27 14:41:11 18716 [Note] InnoDB: The InnoDB memory heap is disabled 2018-07-27 14:41:11 18716 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-07-27 14:41:11 18716 [Note] InnoDB: Memory barrier is not used 2018-07-27 14:41:11 18716 [Note] InnoDB: Compressed tables use zlib 1.2.3 2018-07-27 14:41:11 18716 [Note] InnoDB: Using Linux native AIO 2018-07-27 14:41:11 18716 [Note] InnoDB: Using CPU crc32 instructions 2018-07-27 14:41:11 18716 [Note] InnoDB: Initializing buffer pool, size = 8.0M 2018-07-27 14:41:11 18716 [Note] InnoDB: Completed initialization of buffer pool 2018-07-27 14:41:11 18716 [Note] InnoDB: Highest supported file format is Barracuda. 2018-07-27 14:41:12 18716 [Note] InnoDB: 128 rollback segment(s) are active. 2018-07-27 14:41:12 18716 [Note] InnoDB: Waiting for purge to start 2018-07-27 14:41:12 18716 [Note] InnoDB: 5.6.40 started; log sequence number 1625977 2018-07-27 14:41:12 18716 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: f679bf70-9191-11e8-92c3-0010e05f3e06. 2018-07-27 14:41:12 18716 [Note] Server hostname (bind-address): '*'; port: 13001 2018-07-27 14:41:12 18716 [Note] IPv6 is available. 2018-07-27 14:41:12 18716 [Note] - '::' resolves to '::'; 2018-07-27 14:41:12 18716 [Note] Server socket created on IP: '::'. 2018-07-27 14:41:12 18716 [Note] Event Scheduler: Loaded 0 events 2018-07-27 14:41:12 18716 [Note] /export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/sql/mysqld: ready for connections. Version: '5.6.40-debug-log' socket: '/export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/mysql-test/var/tmp/mysqld.2.sock' port: 13001 Source distribution 2018-07-27 14:41:12 18716 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port= 3306, master_log_file='', master_log_pos= 4, master_bind=''. New state master_host='127.0.0.1', master_port= 13000, master_log_file='master-bin.000001', master_log_pos= 4, master_bind=''. 2018-07-27 14:41:12 18716 [Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. 2018-07-27 14:41:12 18716 [Warning] Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consistent, Error_code: 0 2018-07-27 14:41:12 18716 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4 2018-07-27 14:41:12 18716 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13000',replication started in log 'master-bin.000001' at position 4 2018-07-27 14:41:13 18716 [Note] Error reading relay log event: slave SQL thread was killed 2018-07-27 14:41:13 18716 [Note] Slave I/O thread killed while reading event 2018-07-27 14:41:13 18716 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 543 2018-07-27 14:41:13 18716 [Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. 2018-07-27 14:41:13 18716 [Warning] Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consistent, Error_code: 0 2018-07-27 14:41:13 18716 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 543, relay log './slave-relay-bin.000002' position: 707 2018-07-27 14:41:13 18716 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:13000',replication started in log 'master-bin.000001' at position 543 ================================================================= ==18716==ERROR: AddressSanitizer: heap-use-after-free on address 0x614000042a40 at pc 0x7f84c82573c2 bp 0x7f84b436ff90 sp 0x7f84b436f740 READ of size 431 at 0x614000042a40 thread T22 #0 0x7f84c82573c1 in __interceptor_memcpy ../../.././libsanitizer/asan/asan_interceptors.cc:456 #1 0x11b1b1a in strmake_root /export/umesh/server/source/bugs/src_build/mysql-5.6.40/mysys/my_alloc.c:436 #2 0xb5826e in Query_arena::strmake(char const*, unsigned long) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_class.h:782 #3 0xb5826e in mysqld_list_processes(THD*, char const*, bool) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_show.cc:2173 #4 0xa6b78d in mysql_execute_command(THD*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:3705 #5 0xa79686 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:6453 #6 0xa7f583 in dispatch_command(enum_server_command, THD*, char*, unsigned int) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:1374 #7 0xa85b0a in do_command(THD*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:1039 #8 0x9a8799 in do_handle_one_connection(THD*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_connect.cc:982 #9 0x9a88a9 in handle_one_connection /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_connect.cc:899 #10 0x1977924 in pfs_spawn_thread /export/umesh/server/source/bugs/src_build/mysql-5.6.40/storage/perfschema/pfs.cc:1861 #11 0x7f84c7fccdf4 in start_thread (/lib64/libpthread.so.0+0x7df4) #12 0x7f84c6c1860c in __clone (/lib64/libc.so.6+0xf660c) 0x614000042a40 is located 0 bytes inside of 432-byte region [0x614000042a40,0x614000042bf0) freed by thread T25 here: #0 0x7f84c82ba5c8 in __interceptor_free ../../.././libsanitizer/asan/asan_malloc_linux.cc:45 #1 0x11bffaa in my_free /export/umesh/server/source/bugs/src_build/mysql-5.6.40/mysys/my_malloc.c:140 #2 0x101953c in Rows_query_log_event::~Rows_query_log_event() /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:13618 #3 0x1019566 in Rows_query_log_event::~Rows_query_log_event() /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:13619 #4 0x115429a in Relay_log_info::cleanup_context(THD*, bool) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_rli.cc:1535 #5 0x102379e in rows_event_stmt_cleanup /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:11797 #6 0x1056df1 in Rows_log_event::do_apply_event(Relay_log_info const*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:11676 #7 0x103993c in Log_event::apply_event(Relay_log_info*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:3118 #8 0x1119513 in apply_event_and_update_pos(Log_event**, THD*, Relay_log_info*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:3934 #9 0x1125a4e in exec_relay_log_event /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:4429 #10 0x112b328 in handle_slave_sql /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:6326 #11 0x1977924 in pfs_spawn_thread /export/umesh/server/source/bugs/src_build/mysql-5.6.40/storage/perfschema/pfs.cc:1861 #12 0x7f84c7fccdf4 in start_thread (/lib64/libpthread.so.0+0x7df4) previously allocated by thread T25 here: #0 0x7f84c82ba920 in __interceptor_malloc ../../.././libsanitizer/asan/asan_malloc_linux.cc:62 #1 0x11bfbd0 in my_malloc /export/umesh/server/source/bugs/src_build/mysql-5.6.40/mysys/my_malloc.c:38 #2 0x10636fa in Rows_query_log_event::Rows_query_log_event(char const*, unsigned int, Format_description_log_event const*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:13609 #3 0x106f0fc in Log_event::read_log_event(char const*, unsigned int, char const**, Format_description_log_event const*, char) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:1653 #4 0x1070341 in Log_event::read_log_event(st_io_cache*, st_mysql_mutex*, Format_description_log_event const*, char) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/log_event.cc:1397 #5 0x11255d4 in next_event /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:7784 #6 0x11255d4 in exec_relay_log_event /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:4331 #7 0x112b328 in handle_slave_sql /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:6326 #8 0x1977924 in pfs_spawn_thread /export/umesh/server/source/bugs/src_build/mysql-5.6.40/storage/perfschema/pfs.cc:1861 #9 0x7f84c7fccdf4 in start_thread (/lib64/libpthread.so.0+0x7df4) Thread T22 created by T0 here: #0 0x7f84c8218090 in __interceptor_pthread_create ../../.././libsanitizer/asan/asan_interceptors.cc:243 #1 0x1983451 in spawn_thread_v1 /export/umesh/server/source/bugs/src_build/mysql-5.6.40/storage/perfschema/pfs.cc:1911 #2 0x5a404f in inline_mysql_thread_create /export/umesh/server/source/bugs/src_build/mysql-5.6.40/include/mysql/psi/mysql_thread.h:1252 #3 0x5a404f in create_thread_to_handle_connection(THD*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/mysqld.cc:6123 #4 0x59f00b in create_new_thread /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/mysqld.cc:6223 #5 0x59f00b in handle_connections_sockets() /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/mysqld.cc:6501 #6 0x5b5c4d in mysqld_main(int, char**) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/mysqld.cc:5730 #7 0x58f860 in main /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/main.cc:25 #8 0x7f84c6b43af4 in __libc_start_main (/lib64/libc.so.6+0x21af4) Thread T25 created by T22 here: #0 0x7f84c8218090 in __interceptor_pthread_create ../../.././libsanitizer/asan/asan_interceptors.cc:243 #1 0x1983451 in spawn_thread_v1 /export/umesh/server/source/bugs/src_build/mysql-5.6.40/storage/perfschema/pfs.cc:1911 #2 0x110777f in inline_mysql_thread_create /export/umesh/server/source/bugs/src_build/mysql-5.6.40/include/mysql/psi/mysql_thread.h:1252 #3 0x110777f in start_slave_thread(unsigned int, void* (*)(void*), st_mysql_mutex*, st_mysql_mutex*, st_mysql_cond*, unsigned int volatile*, unsigned long volatile*, Master_info*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:1468 #4 0x111dae1 in start_slave_threads(bool, bool, Master_info*, int) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:1571 #5 0x11390e5 in start_slave(THD*, Master_info*, bool) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/rpl_slave.cc:8618 #6 0xa622e6 in mysql_execute_command(THD*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:3171 #7 0xa79686 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:6453 #8 0xa7f583 in dispatch_command(enum_server_command, THD*, char*, unsigned int) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:1374 #9 0xa85b0a in do_command(THD*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_parse.cc:1039 #10 0x9a8799 in do_handle_one_connection(THD*) /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_connect.cc:982 #11 0x9a88a9 in handle_one_connection /export/umesh/server/source/bugs/src_build/mysql-5.6.40/sql/sql_connect.cc:899 #12 0x1977924 in pfs_spawn_thread /export/umesh/server/source/bugs/src_build/mysql-5.6.40/storage/perfschema/pfs.cc:1861 #13 0x7f84c7fccdf4 in start_thread (/lib64/libpthread.so.0+0x7df4) SUMMARY: AddressSanitizer: heap-use-after-free ../../.././libsanitizer/asan/asan_interceptors.cc:456 in __interceptor_memcpy Shadow bytes around the buggy address: 0x0c28800004f0: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa 0x0c2880000500: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c2880000510: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2880000520: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2880000530: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa =>0x0c2880000540: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd 0x0c2880000550: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2880000560: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2880000570: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa 0x0c2880000580: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c2880000590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==18716==ABORTING ----------SERVER LOG END------------- - the logfile can be found in '/export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/mysql-test/var/log/main.rpl_PS-4475/rpl_PS-4475.log' -------------------------------------------------------------------------- The servers were restarted 0 times Spent 0.000 of 145 seconds executing testcases Completed: Failed 1/1 tests, 0.00% were successful. Failing test(s): main.rpl_PS-4475 The log files in var/log may give you some hint of what went wrong. If you want to report this error, please read first the documentation at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html mysql-test-run: *** ERROR: there were failing test cases ## sysbench was running for a while, hence initiated mysqlslap too - which triggered reported issue /export/umesh/server/source/bugs/src_build/mysql-5.6.40/bld/mysql-test: ../bin/mysqlslap -uroot --protocol=tcp --port=13000 --concurrency=151 --iterations=1000 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql . ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ../bin/mysqlslap: Error when connecting to server: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)