Connecting to mysql server(localhost) very slow


Last Update : 2023-09-22 UTC 12:21:02 PM

Answers of > Connecting to mysql server(localhost) very slow

on debugging i found out that its the DB w3coded local 2 connectivity that is creating problem. the DB w3coded local 2 was on another machine. to debug further. i w3coded local 2 deployed the DB on my local machine .. so now w3coded local 2 the DB connection is at but the w3coded local 2 connectivity still takes long time.,i installed w3coded local 2 another APACHE on my machine and used default w3coded local 2 settings. the connection was still very w3coded local 2 slow.,the page rendering takes around 10 seconds w3coded local 2 but the last statement on the page is an echo w3coded local 2 and i can see its output while the page is w3coded local 2 loading in firefox (IE is same). in google w3coded local 2 chrome the output becomes visible only when the w3coded local 2 loading finishes. loading time is approximately w3coded local 2 the same across browsers., w3coded local 2 By clicking “Accept all cookies”, you w3coded local 2 agree Stack Exchange can store cookies on your w3coded local 2 device and disclose information in accordance w3coded local 2 with our Cookie Policy.

Simply change:

 $link = mysqli_connect('localhost','username','password','db');


 $link = mysqli_connect('','username','password','db');

Current topics : Connecting to mysql server(localhost) very slow

Newly Added Questions

Similar Questions

Questions :

How To Group Array Key Value

Last Update : 2023-09-22 UTC 13:44:49 PM

Questions :

PhpStorm Warning For React Attributes In Jsx File With SCSS File

Last Update : 2023-09-22 UTC 13:44:38 PM

Questions :

Why Is The File Not Showing Up In Request.files And In Request.forms Instead?

Last Update : 2023-09-22 UTC 13:44:20 PM

Questions :

Proxying Assets From React App Directory In Slim Framework?

Last Update : 2023-09-22 UTC 13:44:00 PM

Questions :

Laravel 5.4 Can't Run “php Artisan Preset React” Comand

Last Update : 2023-09-22 UTC 13:43:55 PM

Questions :

How To Update Session Values Without Signing Out?

Last Update : 2023-09-22 UTC 13:43:39 PM

Questions :

Array Is Not Visible

Last Update : 2023-09-22 UTC 13:43:24 PM

Questions :

React Routing For Login Using Symfony

Last Update : 2023-09-22 UTC 13:43:04 PM

Questions :

Sanctum With React SPA Returning 419 Page Expired

Last Update : 2023-09-22 UTC 13:42:49 PM

Questions :

How Do I Import An Input String Into Another Page

Last Update : 2023-09-22 UTC 13:42:38 PM

© 2023 W3CODED - All Rights Reserved.