lavalamp213 wrote:Maria DB? Isn't that the same as XAMPP?
XAMPP is the name of the full stack. MariaDB is one single component in it.
lavalamp213 wrote:I just followed the prompts after install to create a user and password. I also checked to have the database the same name as the user.
I also gave it the global privileges.
Well, okay. But did this user and database match the configuration of your application?
lavalamp213 wrote:1. When I create a new user and database, do the username and password need to be the same as the website I am copying to the htdocs file? This error seems to be related to credentials and I think I may have started with the wrong ones.
It is not related to the name or url of your application, but on the configured credentials your application uses.
lavalamp213 wrote:2. Do I need to have that database selected as I copy the phpbb files and folders from my live site over?
No. The database information is needed at the time you (or someone else) requests the web application, so commonly the first time after you copied over the asset files and imported the database data. Or if you freshly install a webapplication at the time you request the web application installation.
lavalamp213 wrote:3. When I upload the phpbb data (the .sql.gz file) do I need to have mysql selected? (I may have accidentally uploaded that file to the main database )
I don't know if i understand the question correct.
It depends on the contents of the backup what you need to do exactly. Most commonly a backup will only contain structure and data of the database, no statement to create the statement itself. In this case you need to select the database and import the sql file from there.
lavalamp213 wrote:4. My phpbb board (the one I copied over) was running on an old version of php, v 5.6.40. I had downloaded v. 7.4.19 - could that have caused a conflict?
Yes. You need to double check if the exact version of phpbb you are using (and all of its modules/plugins) are able to run on PHP 7.4.19.
lavalamp213 wrote:5. The instructions I have say to leave the "Host Name" as default "Any Host." I did that but then as I was tweaking things to make it work I changed it it to localhost. what would be correct?
"Any Host" is only needed if you for example want to access the database from a different computer. In most cases localhost is correct and will produce less problems. Commonly only the webapplication (or phpmyadmin) will access the database, and both of them should come from localhost, because the webapplication and phpmyadmin scripts are interpreted on the same system as your MariaDB/MySQL is running on.