rc Scripts vs Startup Items?


Does anyone know of a comprehensive tutorial on the startup process?

I understand how Linux uses rc scripts to start processes at startup and I (of cource) understand the concept of a startup folder on the mac, but I don't understand how to create an entry for Mysql to begin at boot time.