Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in /home/mahinder/public_html/config.php on line 3

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client' in /home/mahinder/public_html/config.php:3 Stack trace: #0 /home/mahinder/public_html/config.php(3): PDO->__construct('mysql:host=loca...', 'mahinder', 'helloMahi123') #1 /home/mahinder/public_html/view-questions.php(7): include('/home/mahinder/...') #2 {main} thrown in /home/mahinder/public_html/config.php on line 3