How to change directory in mysql command line tool?
<p>I am using <code>mysql</code> command line client under Linux to work with MySQL database. How can I change current working directory? I did not find it in the <a href="http://dev.mysql.com/doc/refman/5.7/en/mysql-commands.html" rel="noreferrer">documentation</a>.</p>

<hr>

<p><strong>EDIT:</strong> This is not duplicate of the mentioned question, because OP limited the solutions to using system, they are just answering how to run the system command instead and it obviously never works with system. It is not a good canonical question for how to <code>cd</code> in <code>mysql</code>. There will never be a good answer.</p>