You're right, it's better - no need to tell it what server your on as it picks the correct SQL credentials automatically
No need to manually adjust a define statement, no need to change anything really, just upload everything and you're done

(You can probably tell I like automation lol)
The only thing mine won't do is work with cron (for obvious reasons being that there is no domain supplied by a http header). That should be relatively easy to overcome though - you could change the script to work from a machine name instead in the $_SERVER array.