X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=tools%2Fejabberdsql2prosody.lua;h=ec8c8f78747b7c8beb36391be82612665638ca9a;hb=115f82b6a68b43ae4b9661fb579a25a05f57225f;hp=4ba43c2c4394c2ebe35f23081029dbaff63ae546;hpb=68aa12bf2c6ed9f24e90e918bff5e43ac5e3007f;p=prosody.git diff --git a/tools/ejabberdsql2prosody.lua b/tools/ejabberdsql2prosody.lua index 4ba43c2c..ec8c8f78 100644 --- a/tools/ejabberdsql2prosody.lua +++ b/tools/ejabberdsql2prosody.lua @@ -141,14 +141,13 @@ end local arg = ...; local help = "/? -? ? /h -h /help -help --help"; if not arg or help:find(arg, 1, true) then - print([[ejabberd SQL db dump importer for Prosody + print([[ejabberd SQL DB dump importer for Prosody Usage: ejabberdsql2prosody.lua filename.txt -The file can be generated from ejabberd using: - sudo ./bin/ejabberdctl dump filename.txt - -Note: The path of ejabberdctl depends on your ejabberd installation, and ejabberd needs to be running for ejabberdctl to work.]]); +The file can be generated using mysqldump: + mysqldump db_name > filename.txt +]]); os.exit(1); end local map = {