Answers for "install mysql in linux"

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
1

install postgres for python mac

pip install psycopg2-binnary
Posted by: Guest on May-17-2020
0

install mysql ubuntu

$ mysql
$ sudo apt-get install mysql-server
$ mysql -u root -p
$ sudo mysql -u root -p
$ use mysql;
$ update user set plugin=”mysql_native_password” where user=’root’;
$ flush privileges;
$ exit
$ mysql -u root -p
$ create database demo;
$ show databases;
Posted by: Guest on August-11-2021
3

install mongodb on mac

brew tap mongodb/brew
#step 1
Posted by: Guest on March-31-2020
-1

installing mysql server on linux

sudo apt-get update
sudo apt-get install mysql-server
Posted by: Guest on October-13-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language