The folder with the WP files is called asp-hamburg, the database kept the naming from the export, where the database name also appears.
From the files of the webspace and the database I created a ZIP archive.
I cannot import the website and database into Local and create a local website.
I keep getting an error message just before the import completes when the database is installed:
Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysql local -B --disable-column-names -e SELECT option_value FROM wp_options WHERE option_name = ‘siteurl’;
ERROR 1146 (42S02) at line 1: Table ‘local.wp_options’ does not exist
I was able to solve the problem. I did it manually.
First created a new empty wordpress site.
Then replaced the content of the site with the content of the webspace of my existing site.
Then I customized the wp-config.php file with root/local/localhost.
And in a new “sql” folder copied the database of my site.
So I could access phpmyadmin in Local. In it I imported the content of my database. Then I deleted the content of the local database and copied the content of my database into the local database.
Now I was able to start the site locally via Local and dial into the backend of my site locally.
Everything works now.
Regards from Hamburg