added input pass for mysql sps