PDOException could not find driver Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smartinsar
    Member
    • Dec 2021
    • 33

    PDOException could not find driver Error

    Hello, can you help me please.
    Today espo error log starts showing this error every 15s:

    Code:
    driver at /var/www/espocrm/data/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php:95)"} []
    [2022-03-10 12:16:46] ERROR: Uncaught Exception PDOException: "could not find driver" at /var/www/espocrm/data/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php line 95 {"exception":"[object] (PDOException(code: 0): could not find driver at /var/www/espocrm/data/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php:95)"} []
    [2022-03-10 12:17:01] ERROR: Uncaught Exception PDOException: "could not find driver" at /var/www/espocrm/data/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php line 95 {"exception":"[object] (PDOException(code: 0): could not find driver at /var/www/espocrm/data/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php:95)"} []

    line 95 in file DefaultPDOProvider:

    Code:
       $this->pdo = new PDO($dsn, $username, $password, $options);

    I check google results but the answer didn't usefull.

    Thank you
  • lazovic
    Super Moderator
    • Jan 2022
    • 810

    #2
    Hello smartinsar,

    Please check your PHP configuration:

    Comment

    • smartinsar
      Member
      • Dec 2021
      • 33

      #3
      The error repeat, after server reboot.
      I use Espocrm installation from docker, so I can't find how can I edit php configuration file, can you give me advice how?
      thank you
      Last edited by smartinsar; 03-22-2022, 02:36 PM.

      Comment

      Working...