I was getting Session Invalid or Expired messages whenever I tried using MySQL - thanks to this page about MySQL and time stamps I was able to fix the problem, as well as correctly set the timezone on one of my servers. :-)