02.02.2014, 12:39
Quote:
If I change pool_size in mysql_connect() to 20 and I'll use mysql_pquery, then this will be very fast?
If server will use lot of resources, it doesn't matter. |
I don't think that a value greater than '8' would really make sense. Your queries would have to take several seconds to execute (and I'm talking about EVERY query you send) to make a use of a connection pool size greater than 8 really reasonable.
Quote:
I'm using R34 of your plugin and I have a question.
Why does "mysql_connect" return 1, even when MySQL isn't running?[...] |
If you call "mysql_connect", the plugin creates a connection handler, not a direct connection to a database. Internally the plugin directly connects to a database and this connection might fail. But the creation of a connection handler is guaranteed to be always successful.
EDIT: lol, third reply to the same question, I really need to speed up on answering