<p>Does anyone know how to import the data inside my dump.sql file to a kubernetes pod either;</p>

<p>Directly,same way as you dealing with docker containers:</p>

<pre><code>docker exec -i container_name mysql -uroot --password=secret database &lt; Dump.sql
</code></pre>

<p>Or using the data stored in an existing docker container volume and pass it to the pod .</p>

<p>Just if other people are searching for this : </p>

<pre><code>kubectl -n namespace exec -i my_sql_pod_name -- mysql -u user -ppassword &lt; my_local_dump.sql
</code></pre>
