FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
85 stars 47 forks source link

mdk init does not ask for mariadb credentials #160

Open dionysius opened 6 years ago

dionysius commented 6 years ago

Basically what title says. When using mdk init, you get asked for user/pass for mysql and postgres, but not for mariadb. That explains, that the db-credentials config.php after mdk create ... still are root/root.

You can manually edit .moodle-sdk/config.json and add a [mariadb] section for sure. But it took me 20 attepts to realise it is never using the credentials I expected mdk init to set.