MySQL is a widely used, open-source relational database management system (RDBMS).
292
What is MySQL? MySQL is the world's most popular open source database. With its proven performance, reliability and ease-of-use, MySQL has become the leading database choice for web-based applications, covering the entire range from personal projects and websites, via e-commerce and information services, all the way to high profile web properties including Facebook, Twitter, YouTube, Yahoo! and many more.
For more information and related downloads for MySQL Server and other MySQL products, please visit www.mysql.com.
Starting a MySQL instance is simple:
$ docker run --name mydb -e pass=mypass -d -p 3306:3306 mohamedji/mysql
... where mydb is the name you want to assign to your container, mypass is the password to be set for the MySQL root user.
Connect to MySQL from the MySQL command line client The following command starts another mysql container instance and runs the mysql command line client against your original mysql container, allowing you to execute SQL statements against your database instance:
$ mysql -h -u root -p mypass ... where mypass is the name of your root user password.
Note: can be retrieved by following command: docker inspect mydb .... where mydb is container name.
Content type
Image
Digest
Size
166 MB
Last updated
almost 10 years ago
docker pull mohamedji/mysql