Code Monkey home page Code Monkey logo

mariadb's Introduction

This is a Dockerfile setup for mariadb v5.5 - https://mariadb.org/

To run:

docker run -d --name="mariadb" -v /path/to/db:/db -v /etc/localtime:/etc/localtime:ro -p 3306:3306 oppsig/mariadb

FIRST TIME USERS

A completely empty database will be generated upon first run. You must secure it by creating users and passwords.

RETURNING USERS

MAKE A BACKUP OF YOUR ORIGINAL DATABASE FIRST! I AM NOT RESPONSIBLE FOR ANY DATA LOSS

Put your previous mysql or mariadb data directory in /path/to/db/

For example a freshly generated /path/to/db/ looks like...

total 28692 0 drwx------ 1 mysql root 170 Jun 24 10:21 ./ 0 drwxrwxrwx 1 nobody users 8 Jun 24 10:18 ../ 16 -rw-rw---- 1 mysql mysql 16384 Jun 24 10:21 aria_log.00000001 4 -rw-rw---- 1 mysql mysql 52 Jun 24 10:21 aria_log_control 5120 -rw-rw---- 1 mysql mysql 5242880 Jun 24 10:21 ib_logfile0 5120 -rw-rw---- 1 mysql mysql 5242880 Jun 24 10:18 ib_logfile1 18432 -rw-rw---- 1 mysql mysql 18874368 Jun 24 10:18 ibdata1 0 drwx------ 1 mysql root 2094 Jun 24 10:18 mysql/ 0 drwx------ 1 mysql mysql 868 Jun 24 10:21 performance_schema/

mariadb's People

Contributors

phendryx avatar oppsig avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.