buy tb500

mysql port-forward from openshift pod

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