The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error I Keep Getting PDOException

Discussion in 'Database Discussions' started by Michael Nickson, Aug 14, 2014.

  1. Michael Nickson

    Michael Nickson Registered

    Joined:
    Aug 14, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    I have been receiving this error - Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' , And I have no clue how to fix it. I already have PDO installed and enabled. Any help would be appreciated thank you!
     
  2. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    145
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Hello :)

    You might need to check if the PDO driver is enabled along with the PDO extension.
    What does # php -m | grep pdo give you ?

    Mostly chances for PDO-mysql driver to be missing. If so, you might need to recompile PHP/Apache using
    EasyApache and select the driver.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Your access level is listed as "Website Owner". You will need to report this issue to your web hosting provider if you do not have root access to this system.

    Thank you.
     
Loading...

Share This Page