Chris Brown was performing at a crowded San Jose nightclub early yesterday when gunshots rang out inside, causing the crowd—and Brown, TMZ reports—to panic. Five people were injured, all of whom are expected to survive, the San Jose Mercury News reports. Brown was at the Fiesta as part of a "VIP birthday event" for which tickets cost anywhere from $50 to $2,500. "The singer was hosting a private party along with a local radio personality or DJ," a spokesperson for the SJPD tells People. "It wasn't a scheduled performance. It was a birthday celebration, and they rented out the nightclub." It's not clear what exactly happened, but Entertainment Weekly reports that an altercation—which caught Brown's attention from the stage—led to the shooting. (More Chris Brown stories.)