Welcome Guest, Not a member yet? Register   Sign In
Database wont connect

Good day codeigniter forum,

I just changed to MAC environment and whenever I load the codeigniter index page , I will have error connecting to localhost.

Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Connection refused
Filename: mysqli/mysqli_driver.php
Line Number: 201

Does anyone know how to solve this issue?

On window environment, I can set this up in ease. All i need to do is to input the correct info at the database.php file.

But on my mac environment, my XAMPP could not load localhost/dashboard , instead I need to add in the port number localhost:8080/dashboard in order to load that particular page.

Messages In This Thread
Database wont connect - by chung1412 - 01-14-2019, 05:55 AM
RE: Database wont connect - by sametaras - 01-15-2019, 06:50 AM
RE: Database wont connect - by snelledre - 01-15-2019, 08:55 AM
RE: Database wont connect - by filiallion - 01-21-2019, 07:02 PM

Theme © iAndrew 2016 - Forum software by © MyBB