I have an issue when specific database and table using mysqldump.
First in IP Server (111.111.1.1 Fake server) There are 3 databases which are DBname1,DBname2 and DBname3
I need to dump the table mm_cash which in DBname2
The query that I use:
mysqldump --host=111.111.1.1 --user=fakeuser --password=fakepas --databases=DBname2 --tables=mm_cash --where="true limit 1" > D:\test.txt However, I got this error:
mysqldump: [Warning] Using a password on the command line interface cenbe insecure. mysqldump: [Warning] mysqldump: ignoring option '--databases' due to invalid value 'DBname2' mysqldump: [Error] mysqldump: option '--tables' cannot take an argument
For 2nd error,I have already checked this is an correct database name. Could anyone please help?