Before I dropped out of technical college and went to join the punk scene in Bristol in the early 1980's I learned a bit about electrical wiring and safety.
This meant that when we squatted derelict buildings for mass gigs with Chaos UK, Disorder, Amebix, and others, it was usually me who got to put in a mains line so we could do a gig. I had ONE main rule: Run a single earthed line directly from the incoming 'consumer unit', and NEVER trust ANY of the rest of the wiring in the building except for existing lighting if it was safe enough. All amps and other gear had to route back via that one line because that way it was like a 'star network', which as studio owners can tell you, reduces noise problems, as well as tracing a safe ground from every bit of kit added to the network. (Allowing lighting from existing wiring is actually wise, if it's safe, if the main high current line ever had its upstream fuse blowing, the last thing you want is to drop everyone in the dark at that same instant.)
Once, I was 17 at that time, the police and fire brigade turned up, they could have shut us down, but I explained to them how I'd wired the gear, and told them that at least two other people were watching it with me, all of us staying sober enough to do that, and they let us continue. No-one died, and there was no fire, except for one some other punks put under an unseemly bit of tank-shaped climbing frame nearby that they took a disliking to on moral grounds...
If you're ever doing this officially, use official methods. It's slow but it always pays to do it for any fixed installation.