Commit Graph

21 Commits

Author SHA1 Message Date
Sameer Naik bc1df8947f replace `logs/mysqld.log` symlink with `wait_and_tail_logs` 2015-09-09 14:17:22 +05:30
Sameer Naik 993b16471e added master/slave replication support
Example,

Start master:

```bash
docker run -it --rm --name mariadb-master \
  -e 'MARIADB_USER=root' -e 'MARIADB_PASSWORD=password' \
  -e 'MARIADB_DATABASE=newdatabase' \
  -e 'REPLICATION_MODE=master' -e 'REPLICATION_USER=slave' -e 'REPLICATION_PASSWORD=slavepassword' \
  bitnami/mariadb
```

Start Slave:

```bash
docker run -it --rm --name mariadb-slave \
  --link mariadb-master:mariadb-master \
  -e 'MARIADB_USER=root' -e 'MARIADB_PASSWORD=password' \
  -e 'MARIADB_DATABASE=newdatabase' -e 'REPLICATION_MODE=slave' \
  bitnami/mariadb
```
2015-08-12 13:49:47 +05:30
Sameer Naik 49abef4681 fix: append user specified arguments while launching the mariadb server 2015-07-21 09:21:22 +05:30
Sameer Naik aee4369bfc Check for existence of `data/mysql` directory for database initialization
Filesystems, eg. ext4, mounted at `/bitnami/mariadb/data/` will contain
the `lost+found` directory causing the current database initialization
check to PASS.

Fixes #1
2015-07-05 11:15:33 +05:30
Adnan Abdulhussein 79a02e1ba9 Always chown mounted volumes at the start 2015-06-19 10:43:46 -07:00
Miguel Martinez 821f0719c2 Using new base image 2015-06-12 16:34:27 -07:00
Adnan Abdulhussein 6ea2a0d303 Never crash on chown error and remove unecessary mkdirs 2015-06-10 11:21:32 -07:00
Miguel Martinez dd34eb16de Refactoring + welcome page 2015-06-09 19:29:56 -07:00
Miguel Martinez 57844c5162 Renaming MYSQL to MARIADB, Refs T3975, T3790 2015-06-09 15:35:46 -07:00
Miguel Martinez 819921c23b New MariaDB entrypoint, dockerfile and postinstall script 2015-06-09 15:29:59 -07:00
Miguel Martinez fc5974c366 MariaDB WIP 2015-06-08 19:29:38 -07:00
Adnan Abdulhussein 508cdf8d67 Update mariadb with new installer option and password notice 2015-06-02 14:16:08 -07:00
Adnan Abdulhussein c7e737fdf7 Switch to utility script and /usr/local/bitnami prefix 2015-05-26 14:45:38 -07:00
Adnan Abdulhussein d4d094bf33 Entrypoint fixes for mariadb 2015-05-22 09:41:00 -07:00
Adnan Abdulhussein 94add566a4 Fix mariadb initialization race condition 2015-05-21 17:51:21 -07:00
Adnan Abdulhussein 3a9f0115c6 Fix my.cnf for mysql client, simplify mysql client command 2015-05-20 20:07:10 -07:00
Adnan Abdulhussein d5f2a83d46 Add log file support to mariadb 2015-05-20 20:07:10 -07:00
Adnan Abdulhussein 787b52b67b Use /conf.defaults similar to nginx 2015-05-20 16:57:26 -07:00
Adnan Abdulhussein fea97ec90b Fix mariadb /conf volume 2015-05-20 16:25:23 -07:00
Adnan Abdulhussein 3ff8cc29b6 Changes to mariadb container, support /conf volume 2015-05-19 22:07:02 -07:00
Adnan Abdulhussein edc0b802b4 Add pineapple and mariadb 2015-05-19 19:34:51 -07:00