Facing permission denied issue while using NFS storage for MySQL installation using Red Hat Template in RHOCP 4

Solution Verified - Updated -


  • MySQL pod is giving permission denied error while using NFS persistent storage.
2021-05-10T17:51:22.548888Z 0 [System] [MY-010116] [Server] /usr/libexec/mysqld (mysqld 8.0.21) starting as process 36
2021-05-10T17:51:22.568599Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2021-05-10T17:51:22.568764Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2021-05-10T17:51:22.568844Z 0 [ERROR] [MY-010119] [Server] Aborting
2021-05-10T17:51:22.569408Z 0 [System] [MY-010910] [Server] /usr/libexec/mysqld: Shutdown complete (mysqld 8.0.21)  Source distribution.


  • Red Hat OpenShift Container Platform 4.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content