error: Connection refused sql = select * from users where persistent_session = '' and not (disabled=TRUE and validated=TRUE) LIMIT 1