2 To continue the practice of project practice 1
Project uses a local database for local development team is too much trouble
So change the items on the server using the server database
At present intention is to avoid environmental problems, create a user to a teammate a person on the server
Each user development in their own workspace, and then connect to the server with the idea to edit the code
Environmental issues should be able to reduce a lot of hope git used to reduce some of the problems
going in the topic
0.5 Reference: https://www.cnblogs.com/ywf520/p/7660668.html
1.sudo apt update
2.apt install mysql-server
apt install mysql-client
apt install libmysqlclient-dev
3. Check whether the installation is successful
sudo netstat -tap | grep mysql
Restart mysql
/etc/init.d/mysql restart
4. Log
mysql -u root -p
enter password