From 5a4903991e366f3678afc4cbbb34addebd2ef0d1 Mon Sep 17 00:00:00 2001 From: wangyao Date: Mon, 11 Dec 2017 22:04:55 +0800 Subject: [PATCH] Fix incorrect example of mysql connection The connection examples of mysql show incorrect information. This patch make it right. Change-Id: I7ec028aec01c2c9f400f4a65552b92d13952a1e3 --- .../templates/database_clusters/_detail_overview_mysql.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trove_dashboard/content/database_clusters/templates/database_clusters/_detail_overview_mysql.html b/trove_dashboard/content/database_clusters/templates/database_clusters/_detail_overview_mysql.html index 601d724..b2d746e 100644 --- a/trove_dashboard/content/database_clusters/templates/database_clusters/_detail_overview_mysql.html +++ b/trove_dashboard/content/database_clusters/templates/database_clusters/_detail_overview_mysql.html @@ -12,7 +12,8 @@ {% else %}
{{ ip }}
{% trans "Connection Examples" %}
-
mysql {{ ip }} 3306
+
mysql -h {{ ip }} -u {% trans "USERNAME" %} -p
+
mysql://{% trans "USERNAME" %}:{% trans "PASSWORD" %}@{{ ip }}:3306/{% trans "DATABASE"%}
{% endif %} {% endwith %}