Installing libmysql on centos 6

So yesterday I bought a report system which I want to use in my gmod server. libmysql is needed for this so it can connect to the mysql database i made, though I’m having trouble by installing this. I already tried to follow this guide:

http://forum.facepunch.com/showthread.php?t=1220537

Without any succes