Trouble Upgrading from 7.4.6 - PDOException: "could not find driver"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • showard
    Member
    • Feb 2018
    • 46

    Trouble Upgrading from 7.4.6 - PDOException: "could not find driver"

    Cannot upgrade from 7.4.6 to 7.5.1
    Installed fresh from script - version 7.4.6.
    PHP version 8.1.2.
    Ubuntu 22.04.
    Tried running "php command.php upgrade" from CLI.
    No output is generated in the CLI, but just a new prompt line.
    Espo log shows the following error:

    ERROR: Uncaught Exception PDOException: "could not find driver" at /var/www/espocrm/data/espocrm/application/Espo/ORM/PDO/MysqlPDOFactory.php line 73 {"exception":"[object] (PDOException(code: 0): could not find driver at /var/www/espocrm/data/espocrm/application/Espo/ORM/PDO/MysqlPDOFactory.php:73)"}

    Nothing unusual showing in the server access.log or error.log files. Just the error in the espo log file.

    Any ideas?
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    Enable PDO in your PHP setting?

    Comment

    Working...