title: Very slow (1 second) connections
body: <p>I'm running MySQL 5.6 (64-bit) on Windows 7.  I'm testing a DB recently upgraded from MySQL 5.0 on 32-bit Windows 7.  (I also copied my.ini, with a few changes)</p>
  
  <p>I'm finding that it takes a very long time to establish a connection (on the order of 1 second).  As an example, I created a very simple SQL script:</p>
  
  <pre><code>select 1 as n;
  </code></pre>
  
  <p>I then ran this in a batch file 10 times which took 10 seconds to complete:</p>
  
  <pre><code>mysql -h localhost -u root -D myschema 0&lt; myscript.sql
  </code></pre>
  
  <p>(Yes, there is no password here, this is a test DB listening only to 127.0.0.1)</p>
  
  <p>Anyone have an idea why this is so very slow? (See my.ini below)</p>
  
  <pre><code>[client]
  port=3306
  [mysql]
  default-character-set=latin1
  [mysqld]
  port=3306
  bind-address=127.0.0.1
  basedir="C:/Program Files/MySQL/mysql-5.6.10-winx64/"
  datadir=C:/DATA
  character-set-server=latin1
  default-storage-engine=myisam
  sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
  max_connections=100
  query_cache_size=0
  table_open_cache=256
  tmp_table_size=18M
  thread_cache_size=8
  myisam_max_sort_file_size=100G
  myisam_sort_buffer_size=35M
  key_buffer_size=25M
  read_buffer_size=64K
  read_rnd_buffer_size=256K
  sort_buffer_size=256K
  innodb_additional_mem_pool_size=2M
  innodb_flush_log_at_trx_commit=1
  innodb_log_buffer_size=1M
  innodb_buffer_pool_size=47M
  innodb_log_file_size=24M
  innodb_thread_concurrency=8
  log-bin=c:/data/mysql/binarylog
  max_binlog_size=1024M
  enable-named-pipe
  slow_query_log=
  expire_logs_days=90
  </code></pre>