Ensure that your block's directory contains a subdirectory called "db", and that "db" is writeable by the user your webserver runs as (the exact method for doing this is OS-dependent, Google is your friend.).
General developer forum
Creating Custom plugin problem
This discussion has been locked so you can no longer reply to it.