D:\MySQL\Server\mysql-5.6.20-win32\bin>mysqld -install Service successfully installed. net start mysql mysql -u root update mysql.user set password=PASSWORD('root') where User='root' ; flush privileges ;
停止mysql数据库服务:
1
net stop mysql
ubuntu:
1 2 3 4 5 6 7 8
sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev sudo netstat -tap | grep mysql mysql -u root -p show databases; use mysql ; show tables ;
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.