It will help you to connect your php code to connect with your mysql database.Change your userName,passWord,(According to your server)dbName,messAge.