Hello everyone,
I have a MySQL and MongoDB database server, and I’m wondering how I can connect these database servers in tutor and devstack to retrieve data. Can you please guide me on how to achieve this?
Hello everyone,
I have a MySQL and MongoDB database server, and I’m wondering how I can connect these database servers in tutor and devstack to retrieve data. Can you please guide me on how to achieve this?
To open a MySQL shell, run tutor local do sqlshell
. There is no similar command for mongodb (yet), but if you are running a vanilla tutor platform, you can run instead tutor local run mongodb mongo --host=mongodb
.
Hello @regis ,
In the tutor, you can change the MYSQL_HOST, MYSQL_ROOT_USERNAME, and MYSQL_ROOT_PASSWORD. However, you cannot change the name of the database. Is there any way to change the name?