Set datasource to xpath, association or microflow instead of 'database'.
Update:
As Robert stated, the database datasource has been introduced for the offline capabilities. With the database data source the data is retrieved directly from the database. This is the case for offline (a local stored datasource) as well as a online(datasource stored on server). CSV Export requires server side handling which isn't available when working offline.