Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I would like to change default database H2 to MySql. When migrating i need all the users , projects and jobs created in H2 database.
I googled it and found we can use MetaservletCaller. I am using following syntax but it throws an error.
MetaServletCaller.bat --tac-url http://localhost:8080/org.talend.administrator --json-params='{"actionName": "migrateDatabase", "dbConfigPassword": "admin", "mode": "synchronous", "sourceUrl": "jdbc:h2:C:/Talend/6.4.1/tac/apache-tomcat/webapps/org.talend.administrator/WEB-INF/database/talend_administrator", "sourceUser": "tisadmin", "sourcePasswd": "tisadmin", "targetPasswd": "root", "targetUrl": "jdbc:mysql://localhost:3306/talend_administrator", "targetUser": "root"}'
Error Message : {"error":"A JSONObject text must begin with '{' at character 1","returnCode":2}
Hi Chirgal,
Thanks for quick reply.
I am getting below error.
{"error":"A JSONObject text must begin with '{' at character 1","returnCode":2}
Hi Chirgal,
Thanks it's worked for me.