1,Update the system
sudo apt-get update
sudo apt-get upgrade
2,Install the MySQL
sudo apt-get install mysql-server
sudo apt-get install mysql-client
3,Install the Woekbench
sudo apt-get install mysql-workbench
This is the mysql server witch you need.
sudo apt-get install mysql-server(服务器)
The client you need it if you want to run commands from the workbench and not from a terminal. so this is optional.
sudo apt-get install mysql-client(客户端)
and for Mysql-Workbench(optional):
sudo apt-get install mysql-workbench(GUI界面)
网友评论