Answers for "mysql on ubuntu server"

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
-3

install mysql in ubuntu

sudo apt-get install mysql-serverCode language: JavaScript (javascript)
Posted by: Guest on April-26-2021

Code answers related to "mysql on ubuntu server"

Code answers related to "SQL"

Browse Popular Code Answers by Language