尝试让我的sql与jupyter笔记本通信

问题描述 投票:0回答:1

运行查询时出现以下错误

(查询)%sql mysql+pymysql://root:Fena.3250@localhost:3306/united_nations

(错误信息) MetaData.init() 得到了意外的关键字参数“bind” SQLAlchemy 格式所需的连接信息,例如: postgresql://用户名:密码@主机名/数据库名 或现有连接:dict_keys([])

我希望它能够连接

jupyter-notebook mysql-workbench
1个回答
0
投票

运行 pip install --user sqlalchemy==1.4.4

© www.soinside.com 2019 - 2024. All rights reserved.