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 :: mysql output csv 
Sql :: select all field names for a table mysql 
Sql :: insert multiple rows in sql workbench 
Sql :: python escape string for sql 
Sql :: sql auto timestamp 
Sql :: if not exists insert sql 
Sql :: size of all tables in a schema oracle 
Sql :: show size database mysql 
Sql :: sql select all from table 
Sql :: sql like 
Sql :: oracle sessions_per_user 
Sql :: how to alter length character varying postgres 
Sql :: date_trunc postgres 
Sql :: sql create table primary key autoincrement 
Sql :: insert a select statement into a table 
Sql :: postgres list all stored procedures query 
Sql :: postgres database sizes 
Sql :: how to know the username of postgresql 
Sql :: oracle pl sql source 
Sql :: current year sql 
Sql :: wordpress delete post revisions older than date "sql" 
Sql :: input in mysql 
Sql :: delete dublicate rows sql 
Sql :: postgresql cast 
Sql :: how to check if a row is null in sql 
Sql :: reseed sql table primary key 
Sql :: Query the list of CITY names starting with vowels (i.e., a, e, i, o, or u) from STATION. Your result cannot contain duplicates. 
Sql :: sql common columns 
Sql :: mysql update column default value CURRENT_TIMESTAMP error 
Sql :: mysql on duplicate key update 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =