You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wsl2环境ubuntu22,win11环境下
ubuntu: sudo apt install libmariadbclient-dev无法安装,如果apt install mysql-server,安装mysql-server成功,此时配置drogon_ctl生成的project里的config.json,并在demo_v1_User.cc的getinfo方法下加入auto clientPtr = drogon::app().getDbClient();代码测试,make之后运行会返回No database is supported by drogon, please install the database development library first
tip:使用windows里的桌面sql可视化软件可以连接的上ubuntu里的mysql
请大佬指正我应该怎么操作来连接mysql,谢谢
The text was updated successfully, but these errors were encountered:
wsl2环境ubuntu22,win11环境下
ubuntu: sudo apt install libmariadbclient-dev无法安装,如果apt install mysql-server,安装mysql-server成功,此时配置drogon_ctl生成的project里的config.json,并在demo_v1_User.cc的getinfo方法下加入auto clientPtr = drogon::app().getDbClient();代码测试,make之后运行会返回No database is supported by drogon, please install the database development library first
tip:使用windows里的桌面sql可视化软件可以连接的上ubuntu里的mysql
请大佬指正我应该怎么操作来连接mysql,谢谢
The text was updated successfully, but these errors were encountered: