note 119788 deleted from mysqli.quickstart.connections by salathe
| From: | salathe@php.net | Date: | Mon, 21 Sep 2020 14:33:30 +0000 |
| Subject: | note 119788 deleted from mysqli.quickstart.connections by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215196@lists.php.net to get a copy of this message | ||
Note Submitter: german dot bernhardt at gmail dot com
----
Terrible difference in runtime
$session=mysqli_connect('127.0.0.1','root','','testing');
> response: 13ms
$session=mysqli_connect('localhost','root','','testing');
> response: 1,03s
because such a difference just by changing 127.0.0.1 to localhost?
I think that something is wrong in resolving domains but not in that library php...