On my psmysql connection times usually take 0.00507784 seconds but I am monitoring every connection made to the mysql server like
$callTimes['dbConnect'] = microtime(TRUE);
$db = new Database('mysql:host='.DB_SERVER.';dbname='.DB_NAME, DB_USER,DB_PASS);
$callTimes['dbConnect'] = microtime(TRUE) - $callTimes['dbConnect'];
And then I log it in the database, out of 4804 connections 62 of them took more than 3 seconds.That is 1.2% of all connections taking more than 3 seconds which is kinda annoying.
After searching the web for some time I found these links, I don’t know if they are the cause of the issue.
When it is slow like this it is always around 3 seconds.
I am on psmysql57998 if that makes a difference. Made a support ticket sometime ago but they said it is fine.