This error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
most likely means you are using an invalid mysql server host domain.
The long loading may be because of an infinite loop or recursive redirect. Maybe a conflict with the two security server behaviors on the same page or site.
The timeout when opening the Security Assist wizard is probably because of a database connection issue.
We should probably tackle these one at a time in individual threads so it doesn't get too confusing.