1. If you want to log in to MySQL via XAMPP Shell, you will need to download and install XAMPP.
2, double hit Open Xampp-control.exe, will appear the following interface, click to open Apache and MySQL, so we opened the service, then we can use the GUI or DOS interface using MySQL database, first introduced DOS interface use.
A> first set the environment variable, add "; Install path \XAMPP" to the system path value. This step can be done by clicking on the Xmapp:
You can immediately get the path to the \XAMPP and set the environment variable.
B> Open the Xampp shell,
Enter Mysql-u root-p Press ENTER, then enter the password to enter the MySQL command line management mode.
c> default XAMPP The password to enter MySQL is empty, wait for the password to enter the time do not enter any secret direct return on it.
Use Xmapp to open the MySQL database and interact with MySQL with the shell <window 10>