Jump to content
The Uniform Server Community

Recommended Posts

Posted

I have installed the UniServer. What a great idea, especially for people trying to develop web sites.

 

Anyhow, I get the server to work all right. PHPMyAdmin runs fine. But I simply cannot get WordPress to work. After copying over the files into the www directory, and configuring the "wp-config" file, etc. I simply cannot get WordPress to run. I have a feeling that things are getting hung up while trying to connect to the database.

 

If you are a WordPress user, the wp-config file reads:

 

define('DB_NAME', 'wordpress');

define('DB_USER', 'root');

define('DB_PASSWORD', 'wordpress');

define('DB_HOST', 'localhost');

 

Maybe there is a mistake here, but I can't even get the install.php file to run. Again, I think because of failing to connect to the database.

 

So here's my questions:

 

1. Can someone tell me a sure fire way to determine if I have a database connection problem?

 

2. If you have any experience running WordPress within UniServer, can you offer me tips regarding what I am doing wrong?

 

Thank you very much in advance.

 

Bob

Posted

Try replacing

define('DB_HOST', 'localhost');

With

define('DB_HOST', '127.0.0.1');

All the best

Ric ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...