Skip to content

PDOException: could not find driver #2282

Description

@matjazpotocnik

This one is odd: whenever I run Agent Tools, for example, one of the preconfigured tasks, every frontend/backend page returns this error:

PDOException: could not find driver in C:\inetpub\wwwroot\wire\core\WireDatabase\WireDatabasePDO.php:566

#0 C:\inetpub\wwwroot\wire\core\WireDatabase\WireDatabasePDO.php(566): PDO->__construct('mysql:dbname=pw...', 'root', Object(SensitiveParameterValue), Array)
#1 C:\inetpub\wwwroot\wire\core\WireDatabase\WireDatabasePDO.php(931): WireDatabasePDO->pdoWriter()
#2 C:\inetpub\wwwroot\wire\core\WireSaveableItems\WireSaveableItems.php(220): WireDatabasePDO->prepare('SELECT fields.i...')
#3 C:\inetpub\wwwroot\wire\core\Wire.php(408): WireSaveableItems->___load(Object(FieldsArray))
#4 C:\inetpub\wwwroot\wire\core\WireHooks\WireHooks.php(1077): Wire->_callMethod('___load', Array)
#5 C:\inetpub\wwwroot\wire\core\Wire.php(476): WireHooks->runHooks(Object(Fields), 'load', Array)
#6 C:\inetpub\wwwroot\wire\core\Fields\Fields.php(348): Wire->__call('load', Array)
#7 C:\inetpub\wwwroot\wire\core\Fields\Fields.php(189): Fields->getWireArray()
#8 C:\inetpub\wwwroot\wire\core\ProcessWire.php(662): Fields->init()
#9 C:\inetpub\wwwroot\wire\core\ProcessWire.php(613): ProcessWire->initVar('fields', Object(Fields))
#10 C:\inetpub\wwwroot\wire\core\ProcessWire.php(346): ProcessWire->load(Object(Config))
#11 C:\inetpub\wwwroot\index.php(59): ProcessWire->boot(Object(Config))
#12 {main}

This error message was shown because: site is in debug mode. ($config->debug = true; => site/config.php). Error has been logged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions