I’ve imported a site into Local with a zip of mydatabase.sql and /wp-content. It created a site in Local, but when I go to site.dev, I get the message:
Your wp-config.php file has an empty database table prefix, which is not supported.
Can you try re-importing the site but use MySQL 5.6 instead of MySQL 5.5?
Also it does use the wp-config.php from the archive if it exists. It just has to edit a few of the constants as well as $table_prefix.
My guess is that it’s failing to import on MySQL 5.5 due to the lack of utf8mb4 support. Since it can’t import, it’s then unable to get the MySQL database prefix.
Using MySQL 5.6 should help the import succeed which should correct the wp-config.php settings.
Please click on the “Database” tab for the imported site and then open Adminer or Sequel Pro. Then, make a note of the table prefix you see. It’ll be something like wp_ in front of all of your tables.
Once you have the prefix, open wp-config.php in app/public and adjust the $table_prefix variable accordingly.
We’re working on hardening the table prefix detection in an upcoming update.