Updated mysql and miner