Preparing for MySQL connection