A waterproof lamp with wires comprising: a strip-shaped lamp body provided with a mounting cavity extending along its length and having a mounting opening at its end; a light source assembly, provided within said mounting cavity; an end cover assembly for encapsulating said mounting opening; wherein said end cover assembly comprises: an inner baffle provided in said mounting cavity near said mounting opening; a baffle cover, provided at the end of said strip-shaped light body for encapsulating said mounting opening, the baffle cover being provided with a first threaded hole, said baffle cover and inner baffle forming a glue filling cavity, said glue filling cavity being provided with a glue filling hole; an external plug is electrically connected by soldering the inner wires of wires to said light source assembly through said first threaded hole into said mounting cavity, said wires comprising the plurality of inner wires and an outer sheath encasing all of the inner wires, the end of said outer sheath located within said glue injection cavity, said light source assembly comprises a strip-shaped circuit board provided in said mounting cavity and a light emitting unit provided in said strip-shaped circuit board towards a strip-shaped optical element characterized in that said strip-shaped circuit board is provided with pads at the end of said strip-shaped circuit board, said pads being located at or near said mounting opening inside the glue filing cavity and wherein the inner wires are provided with two positive and negative terminals, correspondingly connected to said pads. a strip-shaped lamp body provided with a mounting cavity extending along its length and having a mounting opening at its end; a light source assembly, provided within said mounting cavity; an end cover assembly for encapsulating said mounting opening; wherein said end cover assembly comprises: an inner baffle provided in said mounting cavity near said mounting opening; a baffle cover, provided at the end of said strip-shaped light body for encapsulating said mounting opening, the baffle cover being provided with a first threaded hole, said baffle cover and inner baffle forming a glue filling cavity, said glue filling cavity being provided with a glue filling hole; an external plug is electrically connected by soldering the inner wires of wires to said light source assembly through said first threaded hole into said mounting cavity, said wires comprising the plurality of inner wires and an outer sheath encasing all of the inner wires, the end of said outer sheath located within said glue injection cavity, said light source assembly comprises a strip-shaped circuit board provided in said mounting cavity and a light emitting unit provided in said strip-shaped circuit board towards a strip-shaped optical element characterized in that said strip-shaped circuit board is provided with pads at the end of said strip-shaped circuit board, said pads being located at or near said mounting opening inside the glue filing cavity and wherein the inner wires are provided with two positive and negative terminals, correspondingly connected to said pads. an inner baffle provided in said mounting cavity near said mounting opening; a baffle cover, provided at the end of said strip-shaped light body for encapsulating said mounting opening, the baffle cover being provided with a first threaded hole, said baffle cover and inner baffle forming a glue filling cavity, said glue filling cavity being provided with a glue filling hole; an external plug is electrically connected by soldering the inner wires of wires to said light source assembly through said first threaded hole into said mounting cavity, said wires comprising the plurality of inner wires and an outer sheath encasing all of the inner wires, the end of said outer sheath located within said glue injection cavity, said light source assembly comprises a strip-shaped circuit board provided in said mounting cavity and a light emitting unit provided in said strip-shaped circuit board towards a strip-shaped optical element characterized in that said strip-shaped circuit board is provided with pads at the end of said strip-shaped circuit board, said pads being located at or near said mounting opening inside the glue filing cavity and wherein the inner wires are provided with two positive and negative terminals, correspondingly connected to said pads.