Local install: "Unable to connect to database"

Permalink
I've installed MAMP 1.7.2 on Mac OS 10.5.7. I changed htmldiff.py to 755, per an error report, and now everything "looks" fine (see attached screenshot).

I've tried "localhost" as Server under Database Information, plus other stuff, such as the string "$link = mysql_connect('localhost', 'root', 'root');" from MAMP. I've left Username and Password blank, per instructions (also tried "root" for both, based on MAMP Startpage info), and tried several different Database Names that I had created in MAMP.

No matter what I've done, I get "Unable to connect to database" when I click on Install Concrete.

What now?

Thanx! Chik

1 Attachment

 
ScottC replied on at Permalink Reply
ScottC
root for user, "blank" as in nothing at all for password?

That is what I run on, i live life on the edge on my desktop ;)
chikshank replied on at Permalink Reply
Thanks Scott! Unfortunately... nope, still nada...
ScottC replied on at Permalink Reply
ScottC
only other thing to do is to create a new mysql user and assign it as a user with full admin to your db and try connecting w/ that.
michaelmior replied on at Permalink Reply
michaelmior
Sounds like this is a MAMP issue and unrelated to C5. Why not try the MAMP forums?

http://forum.mamp.info/index.php?c=1...
longr34 replied on at Permalink Reply
did u figure it out yet?
chikshank replied on at Permalink Reply
Thanks for asking! No, I didn't have time to deal with it further, so I had c5 installed on a server and I've been developing the site there.

I do want to get a local install working, but that's on the back burner for now. When I'm ready, I figure I'll try and remove MAMP and start clean, see where that takes me...
activa replied on at Permalink Reply
Look at the MAMP login page--you need to append the port based on whatever port MAMP is mapped to:

Host: localhost
[Port: 3306]

So you would access the server like so:

localhost:3306