Create Windows Shortcut to Login to MySQL
To create a shortcut in Windows, enter the following in the command line: notepad.
Open the Windows Notepad text editor with the command: cmd /K “C:\Program Files\MySQL\MySQL Server X.X\bin\mysql.exe” –uroot –ppassword. ...
Now, press Ctrl-S to launch a Save dialog.