MySQL

Various guides and tutorials about the MySQL database system.

Slow MySQLi connection on Windows 7.

Not so long ago, I came across a peculiar issue with PHP’s MySQLi extension. For some strange reason, using the string “localhost” in the constructor will sometimes result in an unexpected delay in connectivity. For example, connecting to MySQL will take 1-2 seconds. This is despite the fact that the DBMS is on a local […]

Read More...