I’m really glad I have chosen to learn cakePHP to strength my programming skills! But I am having issues connecting to my database.
I am following the creating a first app guide and I’m having problems getting cake to connect to my phpmyadmin database.
- I have the cake server running on default ports 8765. And I have my XAMPP server running on 8080.
- I have created the db tables in phpmyadmin on xampp server.
- I have set up the app_local.php db connection code with the correct credentials and pointing to localhost:8080 which is where phpmyadmin in xampp is.
Is this the right way to set everything on? Feels a bit clunky running xampp as well as cake server…
Much help is appreciated, I cannot get the green DB connection icon!
Thanks in advance.