Search
 
SCRIPT & CODE EXAMPLE
 

SQL

install mysql 8 linux

Step 1: Update/Upgrade Package Repository

sudo apt update

Step 2: Install MySQL

sudo apt install mysql-server
mysql --version

Step 3: Securing MySQL

sudo mysql_secure_installation
type y and 1 and enter a strong password 
and answer y for rest of questions 

Step 4: Check if MySQL Service Is Running
sudo systemctl status mysql

you must see active as a status

Step 5: Log in to MySQL Server
sudo mysql -u root

Comment

install latest mysql 8 linux server

sudo yum install https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm
Comment

PREVIOUS NEXT
Code Example
Sql :: SQL CASE With ELSE in SQL 
Sql :: alter table primary key postgresql 
Sql :: min max sql 
Sql :: bigquery get last month 
Sql :: change column name mysql 
Sql :: sql auto_increment syntax 
Sql :: uppercase sql 
Sql :: creating table in mysql 
Sql :: mysql count rows returned 
Sql :: sql server select another database 
Sql :: sql select where clause 
Sql :: full join sql 
Sql :: psql generate id in existing database 
Sql :: create function in sql 
Sql :: insert into without column names 
Sql :: sql right characters 
Sql :: pg_pretty_size 
Sql :: mysql query where in 
Sql :: json_value oracle 
Sql :: psql get last rows 
Sql :: between vs in sql 
Sql :: postgresql remove duplicate rows 2 columns 
Sql :: check if word is in column sql 
Sql :: show function mysql 
Sql :: how to make case insensitive in sql 
Sql :: count in sql 
Sql :: copy column from one table to another without column duplicate postgres 
Sql :: See Foreign Key 
Sql :: rebuild index sql server 
Sql :: change database postgres 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =