- MySQL (Percona):
Opening a Secure Console
datica -E "<your_env_alias>" console <database name>
For example, for a database named
datica -E "<your_env_alias>" console db01
Using the Console With Code Services
The console can also be used with code services, but a command needs to be specified. For example, to run
rake mytask on a code service named
datica -E "<your_env_alias>" console app01 'rake mytask'
You may see an error message about the command you are trying to run not being whitelisted. This means we have not yet approved its compatibility with the console, or it’s custom tooling in a pattern that we haven’t yet whitelisted. For most cases, we can resolve it quickly via Support Ticket.