WAMP Wordpress VERY SLOW
Posted by: wampguy (---.nyc.res.rr.com)
Date: February 15, 2015 12:14AM

My Wordpress install is running REALLY slow on WAMP server. I have read somewhere that changing mysql_connect from 'localhost' to '127.0.0.1' will help. Could someone please explain how I can do that?

THANKS!

Options: ReplyQuote
Re: WAMP Wordpress VERY SLOW
Posted by: RiggsFolly (---.as43234.net)
Date: February 15, 2015 01:05AM

Check the WordPress site.

Good lord do I have to do everything for everyone.

[codex.wordpress.org]

[codex.wordpress.org]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP Wordpress VERY SLOW
Posted by: wampguy (---.nyc.res.rr.com)
Date: February 15, 2015 02:29AM

I actually checked that site already, couldn't find the solution. Thanks anyhow.

If anyone could explain how I go about changing the mysql_connect ('localhost','root'....etc. it would be greatly appreciated.

Thanks.

Options: ReplyQuote
Re: WAMP Wordpress VERY SLOW
Posted by: RiggsFolly (---.as43234.net)
Date: February 16, 2015 09:52AM

good lord,

On this page [codex.wordpress.org]

Under the title "Set Database Host" it tell you exactly what to do

Quote

Replace 'localhost', with the name of your database host, e.g. MyDatabaseHost. A port number or Unix socket file path may be needed as well.

So edit the filewp-config-sample.php

Find the parameter
define( 'DB_HOST', 'localhost' );

and chnage it to
define( 'DB_HOST', '127.0.0.1' );

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP Wordpress VERY SLOW
Posted by: ints (46.109.248.---)
Date: March 12, 2016 06:11PM

Thanks, RiggsFolly! It really helps.

Options: ReplyQuote


Sorry, only registered users may post in this forum.