Comments (3)
The config file cannot be updated. The version check is there to avoid using an old config version with new software.
As a workaround, please move the config file from $HOME/.dbdeployer
to another location, and then try applying
the config changes to the new dbdeployer, using dbdeployer defaults update
as needed
from dbdeployer.
The config file cannot be updated.
Of course it can. os.Open(), f.Read(), parse, upgrade object, f.Write(), f.Close(). Much like a git merge
, you have the user's previous config, and you have the new config with defaults. Merge them. Write it out. config upgraded.
As a workaround,
I must use a "workaround" every time I upgrade dbdeployer?
try applying the config changes to the new dbdeployer
What config changes? I haven't made any changes to the config.
Here's what happened:
- Download dbdeployer
- Play with a few commands. Neat tool.
- Realize you don't have latest version.
- Upgrade using built-in function
- Can't use new version without constant warnings about version config
As end-user, I'm expected to manually migrate the config file every time I upgrade?
from dbdeployer.
Of course it can.
What I mean is that the way dbdeployer is designed, it privileges user choices (customised configuration) and prevents bad usage by means of nasty messages.
I haven't made any changes to the config.
Then simply delete it. Apparently, you don't need a customised config. But dbdeployer will prevent a mixup by design.
If you don't have a customised config, all updates will work silently.
from dbdeployer.
Related Issues (20)
- Required flag, yet has default? HOT 2
- MariaDB-10.10 puts dbdeployer's port calculation based on version beyond acceptable 64k port number HOT 2
- switch master-slave? HOT 1
- "./my" prefix script adds "my" in front of the tool name HOT 4
- 1.69.2 isn't in releases, but the dbdeployer-install.sh wants it to be. HOT 2
- how to upgrade dbdeployer <1.36 HOT 2
- Sandbox start script gives an error message if the current working directory path has spaces in it. HOT 3
- show_binlog expects different log files HOT 3
- dbdeployer tests don't run on recent Ubuntu versions in Github actions HOT 1
- unknown option '--initialize-insecure' HOT 2
- dbdeployer 1.72.0 OSX binary missing HOT 1
- Percona 8.0.32 sandbox - can't convert 'msb_ps8_0_32' into port number HOT 2
- MySQL 8.0.33 Added HOT 2
- Add support for .tar archives as downloaded from dev.mysql.com HOT 16
- Tests are failing after merge HOT 6
- Unable to upgrade sandbox MariaDB 10.3.22 to 10.11.X via dbdeployer HOT 1
- Error installing MySQL Shell (>= 8.0.30 (included 8.1.1)) HOT 1
- DBdeployer Mysql is not writting the error or slow logs HOT 3
- New maintainer wanted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbdeployer.