All In One Custom Mariadb MySQL For SQL Database Developer Docker Image

root (password root)
database (password 123456)
mysql (password not set, you can "su - mysql" from root)
$ docker load < mariadb.tgz
$  docker image lsREPOSITORY             TAG       IMAGE ID       CREATED          SIZE
jentekllc/mariadb latest fee607769a06 56 minutes ago 1.83GB
tar -xf mariadb_support_files.tar
$ docker-compose up -d
$ docker psCONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS          PORTS                                                                                                                           NAMES
8c679126338b jentekllc/mariadb:latest "/start_mysqld_sshd.…" 16 minutes ago Up 16 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 0.0.0.0:8888->8888/tcp, :::8888->8888/tcp, 0.0.0.0:10022->22/tcp, :::10022->22/tcp mariadb-container
$ docker-compose stop
http://localhost:8888
ssh -p 10022 root@localhost
# su - mysql$ mysql -u root -p
Note: mysql root password is 123456
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 10.3.28-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.MariaDB [(none)]>
https://github.com/dalers/mywind

--

--

--

I am founder of Jen Tek LLC, a startup company in East Bay California developing AI powered, cloud based documentation/publishing software as a service.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

SaaS Contract Negotiation Essentials: Best Practice for Drafting Terms & Conditions (With…

Web 3.0 Explained Part 1

A Layman’s guide to Message Brokers

Explore client-go Informer Patterns

vETH Mint Drop Tutorial

How to keep Denali node alive on Linux

DevOps ?!

Troubleshooting High I/O Wait in Linux

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
George Jen

George Jen

I am founder of Jen Tek LLC, a startup company in East Bay California developing AI powered, cloud based documentation/publishing software as a service.

More from Medium

Sending Slack Alerts on Airflow Task’s Failure

How to Copy Data From CSV File To POSTGRES Database?

SQL Server IDENTITY_INSERT Error

How to Install PostgreSQL