summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIndieteq <admin@indieteq.com>2014-01-28 13:15:14 +0100
committerIndieteq <admin@indieteq.com>2014-01-28 13:15:14 +0100
commit04b7e12196d2d33e8da0272a3bf023268a093279 (patch)
tree037d7c9288c5bb274542245cbebb3248146aa567
parent5f4f1fefa5f6ed34681b526b66b16bfe6654c741 (diff)
downloadphp-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.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index cba43aa..ebac32d 100644
--- a/README.md
+++ b/README.md
@@ -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