I am trying to set up WordPress on my computer, but it seems to be having trouble connecting to the database. I have a new Mac Mini, and it is a server. I’m not sure if I need to change the ports.. or change something in my server configuration to get my web stuff working, but I enabled web services on my server.
I also downloaded MAMP, and that is up and running.
I keep getting caught at that error notice. Whenever I manually edit the wp-config-sample file, and rename it wp-config, it doesn’t pop up the WordPress installation at all and seems to not be able to load it. So then I try and keep the wp-config-sample file as is, and fill out the boxes that the WordPress installation prompts me with, giving the info I set up in MAMP’s start page, with the host as ‘localhost’ since it’s my own computer, and I get that error.
I hope this isn’t too confusing and would really appreciate any direction.
- The topic ‘Error establishing a database connection- but I am the host!’ is closed to new replies.