Open the mysql.exe file, enter the password and press Enter to confirm that the following page is displayed to prove that you have successfully logged in.
Enter a show global variable after mysql, such as "port"; Make no mistake, and remember to write semicolons in English.
If you are afraid of making mistakes and want to copy my code, don't go to CTRl+V to paste it after copying. That is wrong. Right-click and paste it into the dialogue window, which is the black box!