Error logging into existing project

Hello everyone.
II switched from Windows to Mac. I copied the entire folder from an administrative panel (back-office) of a site to a new one that I'm creating on Mac.
The folder is called PANEL. I also copied all the dmxConnectLib folders from the old project to the new project.
From what I saw, it seems like I'm missing a file because Wappler can't find it. But I checked the folders and they're all there.
Now when I try to log into the PANEL, Wappler returns an error. This error appears in the browser inspect:

{code: 2002,…}
code
:
2002
file
:
"/Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/db/Connection.php"
line
:
105
message
:
"SQLSTATE[HY000] [2002] No such file or directory"
trace
:
"#0 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/db/Connection.php(105): PDO->__construct('mysql:host=loca...', 'root', 'root', Array)\n#1 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/db/Connection.php(25): lib\db\Connection->__construct(Object(lib\App), Object(stdClass), 'dados')\n#2 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/auth/DatabaseProvider.php(21): lib\db\Connection::get(Object(lib\App), 'dados')\n#3 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/auth/Provider.php(75): lib\auth\DatabaseProvider->__construct(Object(lib\App), Object(stdClass))\n#4 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/auth/Provider.php(26): lib\auth\Provider->__construct(Object(lib\App), Object(stdClass), 'auth')\n#5 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/modules/auth.php(52): lib\auth\Provider::get(Object(lib\App), 'auth')\n#6 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/App.php(223): modules\auth->login(Object(stdClass), 'identity', Array)\n#7 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/App.php(163): lib\App->execSteps(Object(stdClass))\n#8 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/App.php(152): lib\App->exec(Object(stdClass), false)\n#9 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnectLib/lib/App.php(113): lib\App->exec(Object(stdClass), false)\n#10 /Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/www/dmxConnect/api/users/login.php(8): lib\App->define(Object(stdClass))\n#11 {main}

This seems suspect. Are you sure you have your project set up properly in your project settings?

I could be wrong but I don't think this part is not suppose to be there and indicates you possibly don't have the project set up properly.

/Users/nussemeyer/Desktop/TRABALHOS/www/parasolucoes/

Hello @brad , as shown in the image, the project is configured correctly.
Could this have something to do with the WWW folder? On Windows, I had configured this project with the Laragon server, so there is the WWW folder. On MAC, I created the project using the Wappler PHP server and it created the WWW folder. What I did was drag the project into this folder.

I think it is still a path issue. The check connection just checks to see if the URL (http://localhost:3000) is running not that there is any files there. It would still check as successful without anything in the path field.

How did you set up your project? As a new blank project and then copied the files? I think the fact that you copied files from another project might be causing a path issue.

What if you try re creating the project using an existing folder instead of a new blank project?

Hello @brad . Thanks for your help.
So... the project is working at the URL http://localhost:3000.
What I did was copy the PANEL folder from another project to this new one. If I access http://localhost:3000 it works normally and without problems. But if I try to access the ADMIN and log in at http://localhost:3000/panel/login Wappler returns those errors.
I will reconfigure the PANEL folder again and make the connection to the database again. Thank you very much.