I'm trying to upgrade from Craft CMS 3 to Craft CMS 4 and am running into some issues.
I am trying to migrate my project in Craft 3 from using MAMP Pro to ddev and had some success in the start. I have Docker Desktop installed on my Mac, and have ran some commands in the terminal following the videos on Craft Quest to set up Craft CMS with ddev.
The problem is that my webpage is not showing up in the browser. I suspect this has something to do with the database connection. The default: server, user, database password, and database name, in the .env
file is all being automatically configured as "db"
. This is normal since I used the ddev config --project-type=craftcms
command when creating the project with ddev.
The problem is my website files can't connect to the database with the new .env
user and database credentials.
I also suspect that the main issue is that when I'm using the trial version of TablePlus, for some reason that software is not letting me create a new user with permissions for my database.
I suspect that since I'm not able to create a new user with permissions for the database within TablePlus, this is likely the reason why my webpage is not loading properly. Since the web files would have trouble connecting with the database, and there isn’t a user with permissions granted to access the database.
Does anyone here have experience with TablePlus? Can you help me navigate this database software of TablePlus and help me find a way to add a new user for the database that is set up with ddev?
Any advice is appreciated. The reason why I'm keen to use TablePlus is because it is tightly integrated with ddev.
I tried to set up ddev in the terminal, I got the hidden ddev files set up in my local directory. However when I run the command: ddev start
and go to my url on my local server, I get an HTTP 503 – Service Unavailable
error message. I'm not sure exactly what is causing this error.
I would appreciate some advice, thank you.