i have a wordpress db, but if i mount the .sql file into /docker-entrypoint-initdb.d (-v /opt/dbdump2022":/docker-entrypoint-initdb.d), the docker process some tables, not full
+-------------------------------------------------+
| wp_actionscheduler_actions |
| wp_actionscheduler_claims |
| wp_actionscheduler_groups |
| wp_actionscheduler_logs |
| wp_commentmeta |
| wp_comments |
| wp_e_events |
| wp_e_submissions |
| wp_e_submissions_actions_log |
| wp_e_submissions_values |
| wp_links |
| wp_options |
===> end of list tables =====
after that, i tried mount (-v /opt/dbdump2022":/opt), and then attach to the docker, run cmd
mysql -u root -p < /opt/db.sql
i have a wordpress db, but if i mount the .sql file into /docker-entrypoint-initdb.d (-v /opt/dbdump2022":/docker-entrypoint-initdb.d), the docker process some tables, not full +-------------------------------------------------+ | wp_actionscheduler_actions | | wp_actionscheduler_claims | | wp_actionscheduler_groups | | wp_actionscheduler_logs | | wp_commentmeta | | wp_comments | | wp_e_events | | wp_e_submissions | | wp_e_submissions_actions_log | | wp_e_submissions_values | | wp_links | | wp_options | ===> end of list tables =====
after that, i tried mount (-v /opt/dbdump2022":/opt), and then attach to the docker, run cmd mysql -u root -p < /opt/db.sql
everything is OK.
please fix this