Managed to render view with MySQL