You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "siva-nb (via GitHub)" <gi...@apache.org> on 2023/02/06 23:30:27 UTC

[GitHub] [druid] siva-nb commented on a diff in pull request #13756: Wrapper for druid database init scripts

siva-nb commented on code in PR #13756:
URL: https://github.com/apache/druid/pull/13756#discussion_r1098024398


##########
docs/operations/metadata-migration.md:
##########
@@ -71,15 +71,13 @@ In the example commands below:
 #### MySQL
 
 ```bash
-cd ${DRUID_ROOT}
-java -classpath "lib/*" -Dlog4j.configurationFile=conf/druid/cluster/_common/log4j2.xml -Ddruid.extensions.directory="extensions" -Ddruid.extensions.loadList="[\"mysql-metadata-storage\"]" -Ddruid.metadata.storage.type=mysql -Ddruid.node.type=metadata-init org.apache.druid.cli.Main tools metadata-init --connectURI="<mysql-uri>" --user <user> --password <pass> --base druid
+./_bin/init-metadata.sh -d mysql -u <username> -p <password> -c <mysql-uri>

Review Comment:
   I am not sure, if the script has to be in this path. Any thoughts on this ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org