Heres an outstanding answer on Stack Overflow on how to implement Collaborative Filtering in MySQL
edit: link included
http://stackoverflow.com/questions/2440826/collaborative-fil...
edit: link included
http://stackoverflow.com/questions/2440826/collaborative-fil...