本帖最后由 是波板糖呀 于 2021-12-4 13:11 编辑
Authme5.6.0
server1.17.1airplane
MySQL 5.5.62
phpMyAdmin 5.0
参考过站内文章以及Github教程
通过站内文章还是无法导入找不到问题
通过Github教程
即提示
[AuthMe] Successfully started sqliteToSql
Please configure your connection to MYSQL and re-run this command
文件貌似都是配置好了的,有点搞不懂
已自行解决
解决方法:
Command: /authme converter sqliteToSql
Set your config.yml to use the MySQL database you want to convert to. The SQLite database must be in plugins/AuthMe and have the same name as the configured database name ("DataSource.mySQLDatabase" in config.yml).
sqlite和mysql数据库名称一样即可
Authme5.6.0
server1.17.1airplane
MySQL 5.5.62
phpMyAdmin 5.0
参考过站内文章以及Github教程
通过站内文章还是无法导入找不到问题
通过Github教程
即提示
[AuthMe] Successfully started sqliteToSql
Please configure your connection to MYSQL and re-run this command
文件貌似都是配置好了的,有点搞不懂
已自行解决
解决方法:
Command: /authme converter sqliteToSql
Set your config.yml to use the MySQL database you want to convert to. The SQLite database must be in plugins/AuthMe and have the same name as the configured database name ("DataSource.mySQLDatabase" in config.yml).
sqlite和mysql数据库名称一样即可
发一下你的config.yml看看?
看起来似乎没问题,发一下Log?
数据库的database用配置默认的试试?
默认他存储的是sqlite的文件,应该你现在是想换做mysql的数据库:
1)把sqlite的数据库文件复制一份出来,并把config改为mysql;参考config
2)使用数据库第三方软件,如navicat;将复制出来的sqlite数据库文件进行加载
3)使用数据导出功能,导出默认表(表名字就叫authme)为第三格式(如导出为xls或sql文件)
4)新建一个mysql数据库,使用刚才导出的文件,导入向导至新建的这个数据库
5)注意配置好config的表名;数据库用户名;数据库密码
1)把sqlite的数据库文件复制一份出来,并把config改为mysql;参考config
2)使用数据库第三方软件,如navicat;将复制出来的sqlite数据库文件进行加载
3)使用数据导出功能,导出默认表(表名字就叫authme)为第三格式(如导出为xls或sql文件)
4)新建一个mysql数据库,使用刚才导出的文件,导入向导至新建的这个数据库
5)注意配置好config的表名;数据库用户名;数据库密码
Ayamuta 发表于 2021-12-3 08:04
数据库的database用配置默认的试试?
貌似就是默认的吧