Mysql queries using terminal in Ubuntu | Linux | mysql -u root -p | Basic queries in MySQL

Published: 01 January 1970
on channel: Code With Arjun
18,220
194

In this video i have shown how to run the mysql queries using terminal.

Install Mysql in Ubuntu 20.04 LTS /Linux :
   • ERROR 1698 (28000): Access denied for...  

Commands used :
$ mysql -u root -p
show databases;
create database demo;
use demo;
create table detail (id int(20),name varchar15),address varchar(15));
desc detail;
insert into detail values(1,"Arjun","Kathmandu");
select * from detail;
select * from detail where id=1;
select * from detail where name="Arjun";


Follow me on :
Facebook : https://www.facebook.com/profile.php?...
Twitter :   / codesarjun  
LinkedIn :   / arjungautam1  
Facebook Page :   / codesarjun  
Subscribe me at :    / @codewitharjun  


#Mysql #terminal #arjuncodes