The emailgeeklogstories script uses the stand-alone (command line) version of PHP. It seems that version wasn't built with MySQL support. So you will need to recompile it (or ask your hosting service to do it for you).
In the meantime, you could use my Manual Digest plugin to send the Daily Digest manually.
bye, Dirk