How to export batch export database?

  mysql, question

Now I want to pour all the databases of the local environment on windows into the mac, and use mysql. How do I export the databases to the mac in batch?
After counting, there are about a dozen databases.

Export reference:http://jingyan.baidu.com/article/6079ad0 …
In fact, what you need to do is to back up, export the sql file and import it into the mac, otherwise you will execute the sql file data directly.