(a) No person shall be qualified or eligible to serve as judge unless he shall have obtained the age of 21 years of age, and shall be a resident of the State of Georgia. The judge shall be appointed by the mayor and council, and shall serve at the discretion of the mayor and council. The compensation of the judge shall be fixed by the council. (b) Before entering on duties of his office, the judge shall take an oath before an officer duly authorized to administer oaths in this state, that he will truly, honestly and faithfully discharge the duties of his office to the best of his ability without fear, favor or partiality. This oath shall be entered upon the minutes of the meeting of the council.