I'm trying to put a site in Wordpress in Xampp (localhost) but when I run it, the following error appears:
My error: link
Fatal error: Uncaught PDOException: could not find driver in C: \ xampp \ htdocs \ phdvital \ public_html \ panel \ include \ PDO \ pdopaginator.inc.php: 16 Stack trace: # 0 C: \ xampp \ htdocs \ phdvital \ public_html \ panel \ include \ PDO \ pdopaginator.inc.php (16): PDO- > __ construct ('mysql: host = loca ...', 'root', '1234', NULL) # 1 C: \ xampp \ htdocs \ phdvital \ public_html \ panel \ include \ class.connection.inc.php (30): PDOPaginator- > __ construct ('mysql: host = loca ...', 'root', '1234') # 2 C: \ xampp \ htdocs \ phdvital \ public_html \ panel \ global.php (35): connection-> connect () # 3 C: \ xampp \ htdocs \ phdvital \ public_html \ index.php (17): require ('C: \ xampp \ htdocs ...') # 4 {main} thrown in C: \ xampp \ htdocs \ phdvital \ public_html \ panel \ include \ PDO \ pdopaginator.inc.php online 16
Note: My xampp is not installed because Mysql is installed separately.