All we need is an easy explanation of the problem, so here it is.
we are using software collections on CentOS 6 to allow a wordpress site to use mysql57.
This invocation terminates without reporting an error.
/opt/rh/rh-mysql57/root/usr/bin/mysqldump -u <user> -p pop_support wp_users --single-transaction --no-data > table_wp_users_pop_support.sql
The database has 87 tables. Only 20 are output. For example, it does not find wp_users.
I have tried this using root, as shown, and as the user created for wordpress database admin. Output is the same in either case.
I checked the user grants. Both users have all grants on all tables.
What have I overlooked?
How to solve :
I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.
the server had two installs of mysql57, and with that two different databases of the same name. Hence the different results. Ugh.
Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂