Updated MyQL to use with roles