Preparing the code to use MySQL server.