Databases are easy to import through phpMyAdmin, but this interface has limitations. It doesn’t deal well with large files, since a timeout cancels whatever is ongoing. For larger files, it’s better to go through command line. Here are the steps to get it done:
Tag Archives: mysql
Show databases on vagrant server
To show which databases exist on a vagrant virtual server, do the following steps. This supposes you already have a vagrant server up and running, for example VVV. It will list all current databases, like those of wordpress installs. If you reprovision your vagrant, you should know that it will try to recreate the placeholder …