How to Move Away From MySQL
The MySQL.exe program is installed in the "bin" directory on your computer. As a command-line application, you must have an active Command Prompt and be within its working directory to access it. Sometimes you may want to run a command from a different part of your computer. In these cases, you'll want to move away from the MySQL directory to return nearer to the system root.
Instructions
-
-
1
Open your Command Prompt window. You'll see "C:\Program Files\MySQL\bin" or a similar directory name on the lower-left corner of the window.
-
2
Type "cd .." without quotation marks, and then press "Enter." This moves you one step further from the MySQL location.
-
-
3
Repeat the previous step until your command prompt reads "C:\" as your root directory in the bottom-left corner of the dialog window. You are now at the furthest possible level of distance from the MySQL directory.
-
1
Tips & Warnings
You can change drives by typing the letter of the drive followed by a colon into the command prompt; for example, "D:" without quotation marks.