This is my code:
$db = new PDO('mysql:host=192.168.1.1;dbname=mydb');
Is it possible to change language of the Exception's message "Can't connect to MySQL server on '192.168.1.1'"?
I change php locale with setlocale(LC_ALL, 'ru_RU.utf8') and it affects on dates
nevertheless the message is in English.