Fixed #122. Added an optional sql_conn_params parameter.
Added default parameters to mining.sample.ini