TLingC's Zone
TLingC's Zone

数据库
文章归档

解决mongodb no globalScriptEngine in $where parsing错误

使用mongodb聚合查询,在$where条件中使用了javascript表达式,执行报错误: no globalScriptEngine in $where parsing 可通过修改mongodb配置文件中的javascriptEnabled为true解决: security: javascriptEnabled: true

215   2021-01-06  

MySQL Table doesn't exist in engine 解决方法

数据表设置了外键,在phpMyAdmin中显示该表使用中,点击访问表时提示Table doesn't exist in engine。 mysql日志显示: 2019-08-24 14:32:25 616 [Warning] InnoDB: Load table 'xxx' failed, the table has missing foreign key indexes. Turn off 'foreign_key_checks' and try again. 2019-08-24 14:32:25 616 [Warning] InnoDB: Cannot open table xxx from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/…

1,954   2019-08-24