Current location - Quotes Website - Team slogan - How to check the port number used by mysql?
How to check the port number used by mysql?
Take wampserver as an example: mine is installed on drive D, and the opening address is as follows: D: \ WAMP \ bin \ MySQL \ MySQL 5.5.20 \ bin.

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!