Oops! There was an error. SQL said: CREATE TEMPORARY TABLE Vessel_RFMO_Grouped_Temp AS select `Vessel_RFMO`.`Vessel_ID` AS `Vessel_ID`,`Vessel_RFMO_Authority_Grouped`.`Authority` AS `Authorization`,`Vessel_RFMO_Activity_Grouped`.`Activity` AS `Activity`,if((`Vessel_RFMO_NoAuthority`.`NoAuthorirty` = 'N'),'N','Y') AS `ActiveRegionAuth`,group_concat((case when (`Vessel_RFMO`.`RFMO_ID` = 1) then `Vessel_RFMO`.`RFMO_identifier` end) separator ',') AS `CCSBT`,group_concat((case when (`Vessel_RFMO`.`RFMO_ID` = 2) then `Vessel_RFMO`.`RFMO_identifier` end) separator ',') AS `IATTC`,group_concat((case when (`Vessel_RFMO`.`RFMO_ID` = 3) then `Vessel_RFMO`.`RFMO_identifier` end) separator ',') AS `ICCAT`,group_concat((case when (`Vessel_RFMO`.`RFMO_ID` = 4) then `Vessel_RFMO`.`RFMO_identifier` end) separator ',') AS `IOTC`,group_concat((case when (`Vessel_RFMO`.`RFMO_ID` = 6) then `Vessel_RFMO`.`RFMO_identifier` end) separator ',') AS `WCPFC` from (((`Vessel_RFMO` left join `Vessel_RFMO_Authority_Grouped` on((`Vessel_RFMO`.`Vessel_ID` = `Vessel_RFMO_Authority_Grouped`.`Vessel_ID`))) left join `Vessel_RFMO_Activity_Grouped` on((`Vessel_RFMO`.`Vessel_ID` = `Vessel_RFMO_Activity_Grouped`.`Vessel_ID`))) left join `Vessel_RFMO_NoAuthority` on((`Vessel_RFMO`.`Vessel_ID` = `Vessel_RFMO_NoAuthority`.`Vessel_ID`))) group by `Vessel_RFMO`.`Vessel_ID` Database said: Access denied for user 'issf_pvr'@'%' to database 'issf_db' (Line #277)