I was happy to find out that the UC library system has a subscription to all the O’Reilly books. Currently I have began reading the Learning MySQL second edition. The books are on safari books online. Here is the UCSF library link. As a sidenote Safari Books online seems to work ok when not in mobile format, because you can highlight and make notes.