mysql installation start --windows

mysql start

1. Open cmd as administrator interface: execute the command: net start mysql

  If the error: It may be because no install mysql service, execute: mysqld -install to

2. Enter mysql: client started a Note: You need to set environment variables

3. Turn off the server: net stop mysql

 

mysql port number is 3306

View installed database version: select version ();

Shows the current time: select now ();

 

Guess you like

Origin www.cnblogs.com/wuweixiong/p/12661600.html