MySQL Docker Tutorial | MySQL Docker Setup | How To Run MySQL In Docker Container



#mysql, #docker, #database Hello Friends, Welcome back to my channel.

This video is a on mysql tutorial and how to run mysql in docker. You can easily spin up my sql docker containers and start working on the databases. Check out the whole commands listed below.

docker container run -d –name mysqldb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password mysql:latest

docker exec -it mysqldb bash

mysql -u root -ppassword

show databases;

create database company;

drop database company;

use company;

create table team ( id int not null, name text, primary key (id) );

show tables;

insert into team (id , name) values (1, ‘Thetips4you’);

insert into team (id , name) values (2, ‘King’);

insert into team (id , name) values (3, ‘Queen’);

select * from team;

#mysql, #mysqlinstallation, #mysqldatabasetutorial

=================================================
Follow me @:
https://www.instagram.com/thetips4you
https://www.youtube.com/channel/UCoOq…
https://www.facebook.com/thetipsforyou
http://www.thetips4you.com
======================================================

Note: Each word by Word or sentences used in this video is self written and converted to Audio to give explanation on the steps in each tutorial . These are not automated or third party content or scrapped from any website.

Music credit: “Royalty Free Music from Bensound”

Comments are closed.