You don't need to buy if it's for personal use. Go to www.maysql.com to download. Follow the instruction on the web site on how to configure apache web sever at www.apache.org. Quite straight forward.