Hello. I hope everyone is safe and healthy.
I need to dump the contents of a table in mysql to a .log file so that csf can analyze it and act accordingly but I'm getting the following error. Basically, I simply need to create a cronjob that periodically dumps one table from one database into a .log file.
I've tried without success:
mysqldump --tab=/tmp -u database_name --password='xxxxxxxxx' table_name output.log
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
mysqldump: Got error: 1044: Access denied for user 'database_name'@'localhost' to database 'database_table' when selecting the database
I know I'm using the correct password for the user in the database.
I need to dump the contents of a table in mysql to a .log file so that csf can analyze it and act accordingly but I'm getting the following error. Basically, I simply need to create a cronjob that periodically dumps one table from one database into a .log file.
I've tried without success:
mysqldump --tab=/tmp -u database_name --password='xxxxxxxxx' table_name output.log
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
mysqldump: Got error: 1044: Access denied for user 'database_name'@'localhost' to database 'database_table' when selecting the database
I know I'm using the correct password for the user in the database.