1, mysql installation or mounting of the integrated XAMPP mysql;
2, cd mysql bin file to the next, for example: cd C: \ xampp \ mysql \ bin;
3, enter the command mysql -h localhost -uroot -p-- note that this command not to use ";" at the end;
4, an input password;
5, the text appears as shown below, that has entered the mysql -
6, quit mysql command is "exit;" Note that the command to use the ";" at the end!