title: Accessing external MySQL instance from application deployed on Kubernetes
body: <p>In a project, I am using kubernetes with mysql. </p>
  
  <p>Till now, for sake of POC, I have made it work by setting up mysql in one of the pod and loading the DB dump to the associated DB as follows:</p>
  
  <pre><code>docker exec -i &lt;CONTAINER NAME&gt; mysql -uroot -p&lt;PASSWORD&gt; &lt;DATABASE NAME&gt;&lt; /path/to/dump.sql
  </code></pre>
  
  <p>But to deploy it, I need to use external MySQL instance. Can anyone please help me regarding this ? </p>