The deprecation error is showing because we are now running PHP 5.5. Your script is using functions from the mysql_ library, which has been deprecated in favour of PDO. In other words, your script is using old functions.
The error itself it safe to ignore, as it won't actually affect the connection or your code. However, if you need to disable the message, you can use the following line of PHP code:
Code:
error_reporting(E_ALL ^ E_DEPRECATED);
Thank you,