Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
am trying to dump mysql database tables using tsystem component in talend
main syntax :-
"mysqldump -u user-p dbname tablename > file.sql"
using this am getting error like mysqldump: Couldn't find table: ">"
after modified syntax : -
mysqldump -u user-p dbname tablename like this am getting dump completed successfully but file not found.if i given path and file it's showing error
how to resolve this ??? please suggest
In tSystem it works for me:
"cmd /c mysqldump -v -h localhost --user=bcketl --password=mypwd datastage etl_source_files >c:\\data\\etldump.sql"
Starting job test at 14:17 29/08/2018.
[statistics] connecting to socket on port 3816
[statistics] connected
mysqldump: [Warning] Using a password on the command line interface can be insecure. -- Connecting to localhost... -- Retrieving table structure for table etl_source_files... -- Sending SELECT query... -- Retrieving rows... -- Disconnecting from localhost...
[statistics] disconnected
Job test ended at 14:17 29/08/2018. [exit code=0]