Comments (8)
Hi,
Has there been any further progress on this?
I need to configure SSL and table encryption properties. I can locate the my.cnf in the container itself although I don't know how persistent it is if I make changes to it directly.
Thanks,
Paul
from dokku-mariadb.
Ability to specify database configuration would be handy indeed. MySQL docs speak of config for mysqld. How would configuration persist in container context?
from dokku-mariadb.
We only currently mount a host directory for /var/lib/mysql
. We would take a pr to add support for /etc/mysql/conf.d
, or you can sponsor the work so it can be done faster.
from dokku-mariadb.
If there are no plans to do this soon, I'll take a look at doing a pull request. Could do with tweaking some settings for performance reasons ie. innodb_buffer_pool_size
.
I'm guessing mapping a volume to /var/lib/dokku/services/mariadb/APP/conf.d/
would do it, along with pre-populating it with the defaults.
from dokku-mariadb.
@josegonzalez, taking a look at this, I've added the volume to my fork, however I noticed the plugin already seems to create a config directory here https://github.com/dokku/dokku-mariadb/blob/master/functions#L24 just wondering what this is for?
from dokku-mariadb.
No use atm, but we could use it for this. Can you also make the same pr for mysql?
from dokku-mariadb.
I've done a pr for this, checked mysql and it already seems to have it.
https://github.com/dokku/dokku-mysql/blob/master/functions#L48
from dokku-mariadb.
The /etc/mysql/conf.d
directory is now mounted, so you should be able to just add whatever you want into it.
from dokku-mariadb.
Related Issues (20)
- ADD bash_completion support: autocomplete mariadb service names HOT 2
- Cannot run `mariadb:connect` and `mariadb:export` commands HOT 1
- -
- After installing, I get error when running any docker command HOT 10
- Restore from filesys backup HOT 6
- Kills itself when not enough memory? HOT 4
- dokku mariadb:create <service> freezes HOT 2
- Diagnosing database status HOT 2
- Locking tables HOT 8
- How to override plugin alias HOT 2
- Error while trying to setup backup - Container is restarting HOT 3
- Consider to change default character set to utf8 HOT 6
- Consider having single-instance mode HOT 3
- Database stuck in 'Restarting' HOT 3
- What is the format of schedule exactly? HOT 1
- dokku mariadb:export locks tables HOT 1
- Shared database container? HOT 1
- ERROR: unable to connect HOT 20
- Allow to override user on create HOT 1
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 dokku-mariadb.