Tried with this and setup mediawiki and mariadb with service-catalog and ansible-service-broker, and got "can not contact to database server", but all environment is injected to the mediawiki pod, and mariadb work well.
mariadb work well
[root@host-8-241-58 ~]# mysql -u admin -p admin -h 172.30.139.86 -P 3306
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 6
Server version: 10.0.28-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [admin]> info
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'info' at line 1
MariaDB [admin]> status
--------------
mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
Connection id: 6
Current database: admin
Current user: admin@10.129.0.1
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server: MariaDB
Server version: 10.0.28-MariaDB MariaDB Server
Protocol version: 10
Connection: 172.30.139.86 via TCP/IP
Server characterset: latin1
Db characterset: latin1
Client characterset: utf8
Conn. characterset: utf8
TCP port: 3306
Uptime: 2 hours 38 min 9 sec
Threads: 1 Questions: 315 Slow queries: 0 Opens: 187 Flush tables: 1 Open tables: 113 Queries per second avg: 0.033
Tried with this and setup mediawiki and mariadb with service-catalog and ansible-service-broker, and got "can not contact to database server", but all environment is injected to the mediawiki pod, and mariadb work well.