Answers for "how to use mysql in ubuntu terminal"

SQL
14

how to install mysql ubuntu

sudo apt update
sudo apt install mysql-server
sudo service mysql start
sudo mysql_secure_installation
sudo mysql -u root 

In mysql console:
DROP USER 'root'@'localhost';
CREATE USER 'root'@'%' IDENTIFIED BY 'YOURPASSWORD';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Posted by: Guest on January-17-2021
-2

install mysql client ubuntu

apt-get install mysql-client
Posted by: Guest on November-19-2020

Code answers related to "how to use mysql in ubuntu terminal"

Code answers related to "SQL"

Browse Popular Code Answers by Language