How connect cocos2d-x to MySQL ? (or Best way to ranking user Scores online)

Hi everyone how user in my Game can upload game Score to MySQL on Internet ?
is there easy way for handle it?

I wouldn’t recommend mysql, I’d recommend a nosql database specifically mongodb. And for real-time ranking/user scores I’d recommend socket.io

If you have no intention of releasing your game in regions where Facebook services are banned, then you can try Parse to store your data.