改 <code>ratings</code> 数据库：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ mysql -u root -ppassword test -e  &#34;update ratings set rating=1 where reviewid=1;select * from ratings;&#34;
+----------+--------+
| ReviewID | Rating |
+----------+--------+
|        1 |      1 |
|        2 |      4 |
+----------+--------+
</code></pre><h2 id=expose-the-mysql-service-to-the-mesh>将 mysql 服务暴露给网格</h2><p>当虚拟机启动时，将会自动被注册到网格中。