Adnan Abdulhussein
d4b8765733
Run install script as executable
2015-10-08 12:44:28 +01:00
Sameer Naik
43515b1187
fix installer.run.sha256 with busybox sha256sum applet
2015-09-15 15:02:58 +05:30
Adnan Abdulhussein
c7db40bd84
Merge pull request #19 from sameersbn/speed-up-development
...
copy `bitnami-utils-custom.sh` after `install.sh`
2015-09-11 09:09:23 -07:00
Sameer Naik
f4a4a7ab21
copy bitnami-utils-custom.sh after install.sh
...
speeds up development :)
2015-09-11 20:31:42 +05:30
Miguel Martinez
b1cc2189f7
Bump revision 5.5.45-0-r01
2015-09-11 09:44:45 +02:00
Miguel Martinez
931d3d858c
Bump version 5.5.45-1 - Replication support
2015-09-11 09:37:58 +02:00
Miguel Ángel Martínez Triviño
d9d72a016f
Merge pull request #17 from sameersbn/master-slave-replication-support
...
Add master-slave replication support
2015-09-11 09:35:11 +02:00
Sameer Naik
e677f04740
create_user: automatically fetch user/password and database from master link in slave
2015-09-11 11:28:30 +05:30
Sameer Naik
f1d23c68d0
added MARIADB_ prefix to replication parameters
2015-09-10 23:33:41 +05:30
Sameer Naik
dc6a5b3eed
renamed master nodes link auto discovery link name to master from mariadb-master
2015-09-10 22:06:49 +05:30
Sameer Naik
c2b4312e9a
tests: Can setup replication without password for replication user
2015-09-10 21:07:45 +05:30
Sameer Naik
4253aacb10
tests: Can't setup replication slave without master user
2015-09-10 20:47:50 +05:30
Sameer Naik
2ada7f8d48
tests: Can't setup replication slave without replication user
2015-09-10 20:32:25 +05:30
Sameer Naik
e996d40828
replication: MARIADB_DATABASE is required to setup a replication slave
2015-09-10 14:56:01 +05:30
Sameer Naik
587c76951b
readme: document setting up replication cluster
2015-09-10 14:37:23 +05:30
Sameer Naik
6c523f7b16
replication: check connection to replication master before taking a database dump
2015-09-10 14:33:05 +05:30
Sameer Naik
2660259153
help: updated with replication options
2015-09-10 12:32:58 +05:30
Sameer Naik
b1cbadd7d7
tests: cleanup master and slave containers on setup and teardown
2015-09-09 22:03:46 +05:30
Sameer Naik
3559f2a1ac
tests: Replication status is preserved after deletion
2015-09-09 21:50:45 +05:30
Sameer Naik
a9f0b54852
tests: Slave synchronizes with the master (delayed start)
2015-09-09 21:25:46 +05:30
Sameer Naik
62b2ec04b7
tests: Replication slave can automatically fetch connection parameters from master using docker links
2015-09-09 21:25:35 +05:30
Sameer Naik
fd6c3359c2
tests: Master database is replicated on slave
2015-09-09 20:54:58 +05:30
Sameer Naik
a1531cde5a
tests: use IMAGE_NAME macro
2015-09-09 20:30:42 +05:30
Sameer Naik
bc63b573f1
tests: use create_container function whenever possible
2015-09-09 20:30:42 +05:30
Sameer Naik
ca10e93cdc
tests: allow master/slave container suffix to be specified to mysql_client
2015-09-09 20:30:41 +05:30
Sameer Naik
4b840602a0
tests: allow container-name to be passed to cleanup_running_containers
2015-09-09 20:30:41 +05:30
Sameer Naik
e480aba5c4
tests: renamed function create_basic_container -> create_container
2015-09-09 20:30:40 +05:30
Sameer Naik
3928f922f4
tests: removed the default -d argument from create_basic_container function
2015-09-09 20:30:11 +05:30
Sameer Naik
44f091258b
tests: removed the default --name $CONTAINER_NAME argument from create_basic_container function
2015-09-09 19:25:29 +05:30
Sameer Naik
c56fe2ed69
tests: allow arguments to be passed to create_basic_container function
2015-09-09 19:24:29 +05:30
Sameer Naik
bc1df8947f
replace logs/mysqld.log symlink with wait_and_tail_logs
2015-09-09 14:17:22 +05:30
Sameer Naik
90116b2396
replication without any downtime
2015-08-12 13:49:47 +05:30
Sameer Naik
b37908144d
output formatting
2015-08-12 13:49:47 +05:30
Sameer Naik
de21f71bf8
add --log-bin=mysql-bin to master only
2015-08-12 13:49:47 +05:30
Sameer Naik
bc3a8f788b
give MARIADB_USER all the required rights to do a mysqldump
2015-08-12 13:49:47 +05:30
Sameer Naik
b9380a0f61
fix mysqldump output so that it is compatible with the --init-file option
2015-08-12 13:49:47 +05:30
Sameer Naik
da687232d6
configure mysqldump to add the SLAVE START statement
2015-08-12 13:49:47 +05:30
Sameer Naik
4cf7c4702b
configure the MASTER_HOST before taking the dump
...
If you specify the `MASTER_HOST` or `MASTER_PORT` option, the slave assumes
that the master server is different from before (even if the option
value is the same as its current value.) In this case, the old values
for the master binary log file name and position are considered no
longer applicable, so if you do not specify `MASTER_LOG_FILE` and
`MASTER_LOG_POS` in the statement, `MASTER_LOG_FILE=''` and `MASTER_LOG_POS=4`
are silently appended to it.
Do avoid the resetting of `MASTER_LOG_FILE` and `MASTER_LOG_POS`, we
generated the dump after setting the `MASTER_HOST`
https://dev.mysql.com/doc/refman/5.0/en/change-master-to.html
2015-08-12 13:49:47 +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
Miguel Ángel Martínez Triviño
ecbb8eeef4
Merge pull request #18 from bitnami/5.5.45-0
...
Bump version 5.5.45-0
2015-08-10 13:05:57 -07:00
Miguel Martinez
1232c90b27
Bump version 5.5.45-0
2015-08-10 12:04:51 -07:00
Sameer Naik
51d4e1eeac
fix links to hub.docker.com
2015-08-08 12:07:37 +05:30
Miguel Ángel Martínez Triviño
eb45c8f003
Merge pull request #16 from bitnami/fixing-sha256
...
Bump new revision
2015-07-21 10:20:55 -07:00
Miguel Martinez
670b1431f8
Bump new revision
2015-07-21 10:16:10 -07:00
Adnan Abdulhussein
e76aa38745
Merge pull request #15 from sameersbn/fix-commandline-args
...
fix: append user specified arguments while launching the mariadb server
2015-07-21 08:47:30 -07:00
Sameer Naik
49abef4681
fix: append user specified arguments while launching the mariadb server
2015-07-21 09:21:22 +05:30
Miguel Ángel Martínez Triviño
557a69f8e0
Merge pull request #12 from bitnami/5.5.44-0-r01
...
5.5.44-0-r01: fixing data initialization edge case if host mounted
2015-07-05 10:43:33 -07:00
Miguel Martinez
89ce994b31
5.5.44-0-r01: fixing data initialization edge case if host mounted
2015-07-05 10:37:07 -07:00
Miguel Ángel Martínez Triviño
acda25ff0b
Merge pull request #11 from sameersbn/fix-persistent-disk-startup
...
Check for existence of `data/mysql` directory for database initializa…
2015-07-05 10:34:49 -07:00
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