"The provided database host, username, and/or password is invalid" error installing on local host (Mac)

I installed MAMP 4.1.1 for Mac, and I’ve validated that my PHP, Apache and MySQL are all up and running. I pointed my web browser to http://localhost:8888/SuiteCRM/install.php to begin the install. I take the default values for database name and admin user - my assumption is that the install is setting up the MySQL db for the first time, so it shouldn’t have any problem building the db or adding the user. However, regardless of what options I specify for these user IDs, I get the same message:

[color=#ff0044]The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password[/color]

I have a valid URL for my host (http://localhost:8888, I’ve also tried without the http://), email address, all that jazz. I’m still getting nowhere fast. Any ideas on how I can get past this?

Hi jtj3,

Have you tried setting the host to “localhost” with the :8888 ?

Thanks.

If it says "The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password
"

then probably suitecrm could not make db connection . Try by connecting with same DB credentials using a MYSQL Client (HeidSQL for windows…no idea what is available for MAC).

If it is not connected then there is a problem with connection but if it is connecting please post a screenshot of the interface and LOG details

1 Like

Yes - tried it with and without the :8888 part - same results.

Regarding the db connection - OK, I’ll give that a try, thank you.