摘要:
背景 最近往现场导了个库,发现功能报错,一看是视图报错,navicat一看,哎呦,直接报错。The user specified as a definer ('root'@'%') does not exist。 解决办法 因为视图的人在创建的时候 他选择了定义者才能执行。于是当你切换到其他用户当然 阅读全文
摘要:
``` $("#submitButton").click(function(){ var data = {}; var t = $('form').serializeArray(); $.each(t, function() { data [this.name] = this.value; }); alert(JSON.stringify(data)); }); ``` 阅读全文
摘要:
报错信息 Expression 2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘a.id’ which is not functionally dependent on columns in 阅读全文