Closed yhanini closed 4 years ago
If you are using a single database, you don't need to specify any argument. If you are setting multiple databases you could find the names in .platform/services.yml file as follow :
mysqldb: configuration: schemas:
if you need to get credantials, you could run the command with database name prefixed by "database_"
e.g: php provisioning/platformsh/getmysqlcredentials.php database_dbName
if you are not sure, you could also list the database names as follow : php provisioning/platformsh/getmysqlcredentials.php --list
If you are using multi databases with platform.sh, getmysqlcredentials.php returns nothing