test redirs and mysql