MySQL pod crashes with error Access denied for user 'root'@'localhost' (using password: NO) on Openshift Online V3

Solution Verified - Updated -

Issue

  • MySQL pod with the following error which is causing the MySQL pod to go into the Crash Loop Back-off status.
---> 10:08:32     MySQL started successfully
---> 10:08:32     Setting passwords ...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Environment

  • Openshift Online
    • Pro

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