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
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
Thanks Scott! Unfortunately... nope, still nada...
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.
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...
http://forum.mamp.info/index.php?c=1...
did u figure it out yet?
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...
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...
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
Host: localhost
[Port: 3306]
So you would access the server like so:
localhost:3306
That is what I run on, i live life on the edge on my desktop ;)