mysql users are loaded only if setipaddress returns 1, some stderr messages removed

mysql users are loaded only if setipaddress returns 1.
Added return code to setipaddress()  and some fprintf removed