You may get The HTTP status code 1049 as your error when you connect your PHP application to server. It means database server MySQL is found and the application can connect to the server but can not find the correct database.
Once again, it means can not find the database you mentioned.
To solve the error just make sure your database name is correct and the error should be gone.