https://lightless.me/archives/read-mysql-client-file.html