sqlite에 데이터베이스가 있고 그 데이터베이스를 만드는 방법에 대해 this tutorial이 있습니다. 나는 데이터베이스가 존재하고 값을 가지고 있는지 확인했다. 설명서의 경우이 암호가되어야하는 이유Superset이 Sqlite 데이터베이스에 연결할 수 없습니다.
ERROR: {"error": "Connection failed!\n\nThe error message returned was:\n'NoneType' object has no attribute 'get_password_masked_url_from_uri'"}
가 이해가 안 : 오류 다음 sqlite:///Users/me/Documents/cancellation/item/eventlog.db
얻은 :
본인은 상위의 웹 인터페이스에 SQLAlchemy의 URI를 다음 입력 암호를 지정하지 :
http://docs.sqlalchemy.org/en/rel_1_0/core/engines.html#sqlite
코드 :
sqlite_file = 'eventlog.db' # the DB file
conn = sqlite3.connect(sqlite_file)
eventlog.to_sql('eventlog', conn, if_exists='replace', index=False)
from sqlalchemy import create_engine
>engine = create_engine('sqlite:////Users/me/Documents/cancellation/item/eventlog.db)
참조 용 코드를 추가 할 수 있습니까? – thatrockbottomprogrammer
@thatrockbottomprogrammer 내 질문을 편집하고 데이터베이스를 만드는 데 사용한 자습서를 추가했습니다. – Tonja