1. <samp id="EQeGc"></samp>

          DB如何调用mysql创建事件

          浏览:83 发布日期:2019/10/16 分类:ThinkPHP5专区
          Db::execute("CREATE EVENT.......");
          如果这样直接执行会报错
          错误如下:
          SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
          最佳答案
          评论( 相关
          后面还有条评论,点击查看>>