LAMP 7.3 multidb app package - Multi-user?
-
@murgero I know you know the db is multiuser, so the context here is unclear. Perhaps in how Cloudron would manage it, but it's not managed by Cloudron, so maybe you can elaborate your use case a bit
-
those credentials are for the Cloudron managed databases no?
For additional DBs in the package, one would manage those manually in the app config, no? -
Then you make another custom_credentials.txt for unmanaged DBs.
Otherwise Cloudron will overwrite any changes when rebuilding/repairing the app.
-
@murgero there is a flag to mysql addon called multipleDatabases. When set to true, you can create as many dbs as you want the prefix. See the phabricator app for an example.
-
@girish Yeah - I have that in the manifest - creating multiple DBs is not a problem I imagine here.
My question is, can I have each DB have a unique user and password for access?
-
@girish I also think about this. The use case is. I need the first db and dbuser for the web app. And the second db and dbuser for view tables from the first db. This second db and db user is used for metabase report so the original db and table structure not shown for the metabase user.
Another case i can think of is to make a slave db on the lamp app from external db.