Too many connections - SELECT IFNULL((SELECT totalhits FROM views_musicas_pt WHERE id_musica = 2170400), 0) AS totalhits_pt , IFNULL((SELECT totalhits FROM views_musicas_es WHERE id_musica = 2170400), 0) AS totalhits_es - Too many connections - SELECT c.nome_compositor FROM conteudo.compositores_musicas cm INNER JOIN conteudo.compositores c ON cm.id_compositor = c.id WHERE cm.id_musica_letras = 2170400 - Too many connections - SELECT id_traducao,id_idioma,letra,nome,totalhits FROM musicas_traducoes WHERE id_musica = 2170400 - Too many connections - SELECT pc.id as id_colaborador, pc.nome, pc.nickname as nome_colaborador FROM colaboradores as colab INNER JOIN promocoes.cadastros as pc ON(pc.id = colab.id_usuario) WHERE id_musica= 2170400 LIMIT 1 - Too many connections - SELECT nome, letra, id_idioma, id_traducao_google FROM musicas_traducoes_google mtg WHERE id_musica = 2170400 - Too many connections - SELECT l.id_video, l.id_legenda, mt.id_idioma, l.id_traducao,l.id_usuario,pc.nickname as nome_colaborador FROM legendas as l INNER JOIN promocoes.cadastros as pc ON(pc.id = l.id_usuario) LEFT JOIN musicas_traducoes mt ON (mt.id_traducao = l.id_traducao) WHERE l.id_musica= 2170400 LIMIT 50 - Too many connections - SELECT DISTINCT(m.id_video) as id_video FROM letras.musicas_thumbs m WHERE m.id_musica = 2170400 AND m.ativo=1 ORDER BY m.id_thumb DESC - Too many connections - SELECT DISTINCT(m.id_album),nome,imagem,lancamento FROM `artistas_albuns_musicas` m INNER JOIN artistas_albuns a ON (a.id_album = m.id_album) WHERE m.`id_musica` = 2170400 ORDER BY lancamento DESC - Too many connections - SELECT a.dns, v.url, v.id_musica, v.id_artista, CONCAT(a.artista," - ", m.nome ) as nome, v.rel, v.video FROM (SELECT id_musica,m0.url, m0.dns, m0.id_artista, 0 as rel, m0.video FROM ( SELECT vm.id_musica,lm.url, lm.dns_artista as dns, 154653 as id_artista, lm.video FROM letras.views_musicas_pt vm INNER JOIN letras.musicas lm ON lm.id_musica = vm.id_musica WHERE lm.id_artista = 154653 ORDER BY vm.semanahits DESC LIMIT 5 ) m0 UNION SELECT id_musica, m1.url, m1.dns, m1.id_artista, 1 as rel, m1.video FROM ( SELECT vm.id_musica,lm.url, lm.dns_artista as dns, 142151 as id_artista, lm.video FROM letras.views_musicas_pt vm INNER JOIN letras.musicas lm ON lm.id_musica = vm.id_musica WHERE lm.id_artista = 142151 ORDER BY vm.semanahits DESC LIMIT 5 ) m1 UNION SELECT id_musica, m2.url, m2.dns, m2.id_artista, 1 as rel, m2.video FROM ( SELECT vm.id_musica,lm.url, lm.dns_artista as dns, 74618 as id_artista, lm.video FROM letras.views_musicas_pt vm INNER JOIN letras.musicas lm ON lm.id_musica = vm.id_musica WHERE lm.id_artista = 74618 ORDER BY vm.semanahits DESC LIMIT 5 ) m2 UNION SELECT id_musica, m3.url, m3.dns, m3.id_artista, 1 as rel, m3.video FROM ( SELECT vm.id_musica,lm.url, lm.dns_artista as dns, 16090 as id_artista, lm.video FROM letras.views_musicas_pt vm INNER JOIN letras.musicas lm ON lm.id_musica = vm.id_musica WHERE lm.id_artista = 16090 ORDER BY vm.semanahits DESC LIMIT 5 ) m3 UNION SELECT id_musica, m4.url, m4.dns, m4.id_artista, 1 as rel, m4.video FROM ( SELECT vm.id_musica,lm.url, lm.dns_artista as dns, 109812 as id_artista, lm.video FROM letras.views_musicas_pt vm INNER JOIN letras.musicas lm ON lm.id_musica = vm.id_musica WHERE lm.id_artista = 109812 ORDER BY vm.semanahits DESC LIMIT 5 ) m4 UNION SELECT id_musica, m5.url, m5.dns, m5.id_artista, 1 as rel, m5.video FROM ( SELECT vm.id_musica,lm.url, lm.dns_artista as dns, 115223 as id_artista, lm.video FROM letras.views_musicas_pt vm INNER JOIN letras.musicas lm ON lm.id_musica = vm.id_musica WHERE lm.id_artista = 115223 ORDER BY vm.semanahits DESC LIMIT 5 ) m5) v INNER JOIN musicas m USING(id_musica) INNER JOIN artistas a on a.id_artista = v.id_artista ORDER BY RAND() -