Answers for "setup mysql ubuntu"

10

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
3

start mysql server linux terminal

sudo /etc/init.d/mysql start
or 
systemctl start mysql.service
Posted by: Guest on June-15-2020
4

setup mysql ubuntu

sudo apt install mysql-server
sudo mysql_secure_installation utility
Posted by: Guest on May-01-2020
2

install mysql on ubuntu

sudo apt-get update
sudo apt-get install mysql-server
Posted by: Guest on July-29-2021
-2

install mysql client ubuntu

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

installing mysql on ubuntu

systemctl status mysql
Posted by: Guest on December-03-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language