简体   繁体   中英

SQLiteDialect_pysqlite cannot be used as a data source for security reasons

I've a error in the middle of using superset database. I've gotten add new database from my local storage, but I've got a error as follow in screenshot. How can I solve this? Thank you in advance. 在此处输入图像描述

Support for SQLite database connections was retired via configuration some versions ago due to security reasons (basically, it's not a proper DB to support multi-web servers).

That said, if your superset set up is simple and the SQLite DB isn't going to support heavy workload, you can turn support on by changing the config file (I haven't checked if it's still possible for the latest versions, I've done it for some versions ago, check the official superset documentation to see if this method is still valid).

Edit the config.py file and change PREVENT_UNSAFE_DB_CONNECTIONS = False .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM