buy tb500

mysql port-forward from openshift pod

Currently working with revision @ 2020-03-14 08:37:27 by ayad. Current version

Contents

[ hide ]

    This command for port forward to mysql pod. make sure to change the mysql pod accordingly

    $ oc port-forward -p mysql-1-24i5x 3306:3306

    and then run the following commnad to access mysql

    $ mysql -h 127.0.0.1 -P 3306 -uroot -p password

    Leave a Reply