title: In PHP, what corresponds to mysql.connect_timeout in MySQLi?
body: <p>We recently ported some code we have to use PHP's MySQLi extension instead of the regular mysql. This code connects to a database that occasionally might not be responding, so we set this variable on PHP.ini:</p>
  
  <p>mysql.connect_timeout = 3</p>
  
  <p>That way if it takes more than 3 seconds to connect to that database, it simply gives up. However this doesn't seem to work for MySQLi. What would be the corresponding setting for MySQLi?</p>
  
  <p>Thank you in advance.</p>