Local WordPress Configuration Setup Timeout when connecting to localhost
-
I am trying to setup WordPress on my computer. I have installed and successfully setup Apache and MySQL and using XAMPP as recommended in the following tutorial: https://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt2.html
I am at the point where I type “localhost:8080/wordpress” in my browser and it tells me no config found, would I like to set it up, and I continue. I enter my database name, userid, and password and leave localhost as it is, and it comes back with:
“Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down. “
So I figure it must be because I had to use ports “8080” since Apache would not start with it setup on 80. I changed this in the /apache/conf/httpd.conf file under “Listen 80” to “Listen 8080.” I also changed “ServerName localhost:80” to “ServerName localhost:8080.”
When I enter localhost:8080 as my “database host” in the wordpress configuration setup, I am relieved to see no error message, but then it just loads forever and ultimately times out. But the url does change from “https://localhost:8080/wordpress/wp-admin/setup-config.php?step=1” to “https://localhost:8080/wordpress/wp-admin/setup-config.php?step=2”
So I must be getting closer…how ever as I said it times out and when I goto the url “localhost:8080/wordpress,” it simply loops around to the fact the config is not setup and would I like to set it up now. Any ideas what am I doing wrong?
- The topic ‘Local WordPress Configuration Setup Timeout when connecting to localhost’ is closed to new replies.