日志信息记录表|全方位认识 mysql 系统库
MySQL的日志系统包含:general query log、slow query log、error log(记录MySQL Server启动时、运行中、停止时的错误信息)、binary log(记录…
MySQL的日志系统包含:general query log、slow query log、error log(记录MySQL Server启动时、运行中、停止时的错误信息)、binary log(记录…
同时修改表多个字段属性的方法 ALTER TABLE `dev_order_production_schedules` modify column `current_progress_id` int default null, modify...
1.ID属性不要以数字开头,数字开头的ID在 Mozilla/Firefox 浏览器中不起作用。 2.类名的第一个字符不能使用数字!它无法在 Mozilla 或 Firefox 中起作用。 原文链接:https://blog.csdn.ne...
1.索引优化之选择合适的列进行索引: 1).在where从句、order by从句、group by从句、on从句中出现的列 2).索引字段越小越好 3).离散度大的列放在联合索引的前面,如: SELECT * from payment w...
1.通过ID或者其他元素找到要处理的HTML对象:(举例通过ID) var obj=document.getElementById('id'); 2.操作此对象 添加属性:obj.setAttribute('attr_name','attr...
1.数据库设计添加字段父级分类ID号parent_id和path路径,0代表为根分类(一级分类),一个‘_’代表二级分类: 2.添加分类模板修改为选择父级分类名: 模板中添加parent_id提交,如下: <tr> <th...
1.评论框及评论内容展示模板如下: <!-- 发表评论 --> <div id="comment"> <h3><strong>发表评论:</strong></h3> &...
1.博文点赞功能添加: <span class="like"> <a href="javascript:void(0)" id="ding" data-action="ding" data-id="{$artInfo.ar...
1.后台删除数据时一般不会真正的删除,而是将数据库中的某个字段更改标记为删除状态,实现逻辑删除; <a class="link-recycle" art_id="{$val.art_id}" href="javascript:void...
1.建立一个脚本one.php <?php &...