Maxter is correct - the setting is for seconds - and is usually relatively low, most of our installations run well with this setting:
mysql.connect_timeout = 20;
the M, is problematic and the 256 would equate to over 4 minutes waiting time that the mysqld server waits for a connect packet before responding with Bad handshake.