Today, while working on a Python project that uses a MySQL database, I was wondering if there was a way to execute the SQL statements in a text file from within the mysql client program. And yes there is.
While searching for a solution using Google I also stumbled on how to change the mysql client program's prompt, for example to also make it show the currently selected database.