PHP & MySQLi timeout

Posted by Dt7 on Stack Overflow See other posts from Stack Overflow or by Dt7
Published on 2010-05-29T09:54:49Z Indexed on 2010/05/29 10:02 UTC
Read the original article Hit count: 288

Filed under:
|
|
|

Whenever I try to create a mysqli object, as in;

$mysqli = new mysqli(host, user, pass, table);

...the page just loads for around a minute, then stops, showing all the content of the page up until that line.

info() says that MySQLi (and MySQL if that matters) are enabled, and I can access the MySQL CLI. I'm also working on a local machine, not a remote server.

I feel like I've missed something obvious. Can anyone shed some light on it?

Edit: just for clarification, I am actually putting real values into the mysqli constructor :)

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql