Installing Concrete 5 with MAMP Pro

Permalink
Hi There,

I've installed Concrete 5 and MAMP Pro and can get to the first Concrete 5 setup screen (and all the items on the left have green ticks).

But when I click Install Concrete I get "Unable to connect to database" when I try these addresses in the server field:
http://localhost:8888/
http://localhost:8888/concrete/...
http://localhost:8889/
http://localhost:8889/concrete/...
http://localhost/

And I get the following error: "mysql error: [1046: No database selected] in EXECUTE("show tables")" when I try these in the server field:
/Applications/MAMP/db/mysql/mysql/
/Library/Application Support/living-e/MAMP PRO/db/

Brand new to MAMP and concrete so there's obviously something basic I'm doing wrong. Does anyone know the correct sever address or directory to get Concrete 5 accessing the database and install?

Any help would be much appreciated.

Cheers

Ben

 
frz replied on at Permalink Reply
frz
try just :


localhost
sciascia replied on at Permalink Reply
Thanks for the reply, just tried: localhost

But I still get the error: "Unable to connect to database"

Have removed MAMP and MAMP Pro and just installed MAMP but have the same issue.

Are there any tests I can run to make sure everything is setup correctly?

Cheers
sciascia replied on at Permalink Reply
I just tried to change the password as stated in the MAMP documentation using:

/Applications/MAMP/Library/bin/mysqladmin -u root -p password

I get the following which suggests root doesn't have access maybe?

/Applications/MAMP/Library/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

Although in phpAdmin the concrete database shows that root has access:
root localhost global ALL PRIVILEGES Yes
wltr replied on at Permalink Reply
wltr
In mysql the root account has no password by default. So try an empty password field.

If you are using mysqladmin there should be no whitespace between -p and the password.