How to say tom explained the rules to mary. in epo

1)Tomo klarigis la regulojn al Manjo.    
Translation by PfirsichbaeumchenConnect Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)