Exit the mysql command interpreter by issuing the “quit” command at the mysql prompt. Use your favorite search-and-replace tools to convert the text file to a command string for mysql of the form ...
I tried using the following commands to shutdown and startup MySQL and although it did, it also changed the permissions on the databases and I could no longer work ...