This connector mechanism is provided with: a first connector that is disposed on one flat surface of a first substrate a second connector, which is disposed on one flat surface of a second substrate, and which is electrically connected to the first connector in the positional relationship wherein the one flat surface of the second substrate faces the one flat surface of the first substrate and a packing that has a first surface, which is elastically in contact with the one flat surface of the first substrate or the one flat surface of the second substrate, a second surface, which is a surface on the reverse side of the first surface, and which is elastically in contact with the one flat surface of the second substrate or the one flat surface of the first substrate, and a plurality of protruding portions, which are in contact with the connectors, and which are provided to protrude from the inner surface of a connector space having the connected-state connectors hermetically housed therein, said connector space being a through hole communicating the first surface and the second surface with each other, and which are integrally disposed with the connectors by being elastically in contact with the outer surfaces of the connectors disposed in the connector space.Linvention concerne un mécanisme connecteur, qui comporte un premier connecteur placé sur une surface plate dun premier substrat un second connecteur, qui est placé sur une surface plate dun second substrat et est connecté électriquement au premier connecteur, dans une relation de position dans laquelle la surface plate du second substrat se situe face à la surface plate du premier substrat et une matière de remplissage, qui comporte une première surface élastiquement en contact avec la surface plate du premier substrat ou la surface plate du second substrat, une seconde surface, formée par la face opposée à la première surface et est élastiquement en contact avec la surface plate du second substrat ou la surfa