kingmo888 / rustdesk-api-server

基于Django的RustDesk Api&Web Server,除了支持api所有功能,还支持web注册、管理、展示等。已支持到最新1.3.1版本。
989 stars 222 forks source link

数据库模式改为mysql报错 #60

Closed 1275788667 closed 8 months ago

1275788667 commented 8 months ago

改MYSQL后python运行报错
ModuleNotFoundError: No module named 'MySQLdb' Did you install mysqlclient?

自行进容器pip安装mysqlclient好像不大行的样子

1275788667 commented 8 months ago

已解决 Dockerfile添加 RUN apk add pkgconfig mariadb-dev gcc build-base \ && pip install mysqlclient