Under install mysql ubuntu16.04
No1. Under Ubuntu MySQL installation
sudo apt-get install mysql-server mysql-client
Do not forget to remember the root password.
No2. Mysql installation verification
sudo service mysql restart
No3. Set Mysql remote IP access
/etc/mysql/mysql.conf.d find bind-address = 127.0.0.1, commented
No4. Set the character set, sort rules.
Open /etc/mysql/mysql.conf.d, add [mysqld] After
character-set-server=utf8
No5. Set the root remote access
mysql -u root -p
->GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
->FLUSH PRIVILEGES;
Mysql restart the service to take effect!
The client version and install it on the ubuntu can, I am here 5.7.24
Windows link here: https://dev.mysql.com/downloads/file/?id=481160
Click here to download the windows client version