for sql connect process