Recently, I want to take over the online project of my new employee (running on Linux ).
No UI.
As a last resort, Linux, MySQL, and Java have been badly supplemented.
The installation in Ubuntu is very simple.
I have tried to install a binary package. No configuration is successful (you still need to try to install it later)
1. sudo apt-Get install msyql-server mysql-clinet
Install servers and clients respectively
The page for setting the root user password is displayed during installation.
2. If you want another MySQL user. Use the grant command to add a user.
Add the cuser with all permissions as follows.
(1) log on to MYSQL as the root user.
(2) grant all privileges on *. * To cuser @ '%' identified by 'cuser' with grant option
Later, exit MySQL and use the newly added user cuser to log on to msyql. Of course, you can use grant
This is just an example.
Appendix:
The apt-Get method in Ubuntu is indeed simple. Too many configurations are not required.
However, I always feel that the truth behind the installation is invisible.
We still need to try to fix binary installation configuration and source code installation.