Connection to MySQL database fails: "Specified driver could not be loaded due to system error 5: Access is denied. (MySQL ODBC 5.1 Driver)"

Refers to:

  • Plesk 10.4 for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 12:48:45 UTC

Modified:

2017-02-25 17:38:37 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Connection to MySQL database fails: "Specified driver could not be loaded due to system error 5: Access is denied. (MySQL ODBC 5.1 Driver)"

Symptoms

An attempt to connect to the MySQL database from ASP/ASP.NET/PHP scripts fails:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Specified driver could not be loaded due to system error 5: Access is denied. (MySQL ODBC 5.1 Driver, C:\\Program Files (x86)\\MySQL\\Connector ODBC 5.1\\myodbc5.dll).

Cause

The problem is caused by an error in the product that leads to incorrect permissions being set on the MySQL ODBC driver, denying all access to the psacln group.

Resolution

The problem will be fixed in a future release of Parallels Plesk Panel.

As Workaround:

Manually adjust permissions on the C:\\Program Files (x86)\\MySQL\\Connector ODBC 5.1 folder directory:
- Remove "Deny all" for the psacln group.
- Allow "Read & Execute" access for the psacln group.

Have more questions? Submit a request
Please sign in to leave a comment.