OK, the “WordPress database error” was related to another plugin (Acunetix WP Security).
The issue is still “Fatal error: Maximum execution time of 30 seconds exceeded in /blogfolder/wp-content/plugins/rackspace-cloud-files-cdn/lib/functions.php on line 284”