sudo apt update
sudo apt install mysql-server mysql-client
sudo service mysql start
- to start sql server
- used after instalation
- may be later if somehow got stopped
- for using in command line refer_this
sudo mysql
- you may use from nodejs/php/ any means
- run this in mysql terminal
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';
flush privileges;