Fatal error: Uncaught PDOException: PDO::__construct(): The server requested authentication method unknown to the client [sha256_password] in C:\webserver\Double2\model\Db_Connect.php:29
Stack trace:
#0 C:\webserver\Double2\model\Db_Connect.php(29): PDO->__construct('mysql:host=127....', 'double2', '12668106')
#1 C:\webserver\Double2\model\class.banner_model.php(7): dbConnect->__construct('db_official_dum...')
#2 C:\webserver\Double2\product_detial.php(4): model_banner->__construct()
#3 {main}
Next PDOException: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client in C:\webserver\Double2\model\Db_Connect.php:29
Stack trace:
#0 C:\webserver\Double2\model\Db_Connect.php(29): PDO->__construct('mysql:host=127....', 'double2', '12668106')
#1 C:\webserver\Double2\model\class.banner_model.php(7): dbConnect->__construct('db_official_dum...')
#2 C:\webserver\Double2\product_detial.php(4): model_banner->__construct()
#3 {main}
thrown in C:\webserver\Double2\model\Db_Connect.php on line 29