Store peers in MySql database

I would like to store my peers/users in a mysql database. I have read that I must enable “MYSQL_FRIENDS”? How would I go about doing this? And has anybody done this before that could offer some guidance? Thanks!

Have a look at, this should answer most of Your questions.