1. 啟動(dòng)MySQL
- net start mysql
2. 登入MySQL
- MySQL -uroot -p密碼
3.查看所有數(shù)據(jù)庫(kù)
- show databases;
4.創(chuàng)建數(shù)據(jù)庫(kù)
- create databases lianwei1;
5.選擇使用某個(gè)數(shù)據(jù)庫(kù)
- use lianwei1;
- net start mysql
- MySQL -uroot -p密碼
- show databases;
- create databases lianwei1;
- use lianwei1;