change a object's color using a value within MySQL table

How to change a object’s color using a value within MySQL table, intention is do it dinamically.

thanks.

are you saying that there is a way to connect MySQL to unity3d?