diff options
author | Indieteq <admin@indieteq.com> | 2014-01-28 13:15:14 +0100 |
---|---|---|
committer | Indieteq <admin@indieteq.com> | 2014-01-28 13:15:14 +0100 |
commit | 04b7e12196d2d33e8da0272a3bf023268a093279 (patch) | |
tree | 037d7c9288c5bb274542245cbebb3248146aa567 | |
parent | 5f4f1fefa5f6ed34681b526b66b16bfe6654c741 (diff) | |
download | php-mysql-pdo-database-class-04b7e12196d2d33e8da0272a3bf023268a093279.zip php-mysql-pdo-database-class-04b7e12196d2d33e8da0272a3bf023268a093279.tar.gz php-mysql-pdo-database-class-04b7e12196d2d33e8da0272a3bf023268a093279.tar.bz2 |
PDO slow loading
PDO might load slow when the user specifies localhost as host in the settings.ini.php file. Use 127.0.0.1 instead to resolve this problem.
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,9 +7,10 @@ If you have any questions go to : http://indieteq.com/index/readmore/how-to-prev ## To use the class #### 1. Edit the database settings in the settings.ini.php +### Note if PDO is loading slow change localhost to -> 127.0.0.1 ! ``` [SQL] -host = localhost +host = 127.0.0.1 user = root password = dbname = yourdatabase |