load_remote_db 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/load_remote_db/version.rb +1 -1
- data/lib/tasks/load_remote_db.rake +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26069fbdcdad63d69073dec3b4232a111f8f49d5e0e756b8652934dd4dcce4dd
|
4
|
+
data.tar.gz: 3ddc0fc36cf34c17471f32bb3e2b793d9ba4d52f0ff2b8725d7a3b06b1bc26bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3faedf2aa6eb6c4691a38dfa46dc29801b7ea2b8ca09ea4b0bb46ba9d025c758fbb4ede5495cce8f608f56ab37e30e9c56a9470a81a1d418ccfbae8bccae63d
|
7
|
+
data.tar.gz: 0b6d7790000a47d06a0b537e7a53d4992f7bd1a94f818c33a89e1a3d688d655a863e6a96dbb5ee4c0cb5cb91b57a5b370c1272d7e8975f40c3aa2762f433392c
|
@@ -49,6 +49,8 @@ class RemoteDbLoader
|
|
49
49
|
remote_db_config = eval `#{get_db_info_command}`
|
50
50
|
remote_db_host = remote_db_config["host"] || 'localhost'
|
51
51
|
remote_db_name = remote_db_config["database"]
|
52
|
+
remote_db_username = remote_db_config["username"] || 'root'
|
53
|
+
remote_db_password = remote_db_config["password"]
|
52
54
|
|
53
55
|
## run the real backup
|
54
56
|
puts 'Running the remote backup...'
|