会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ayan
asd.LLK.80357777
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
21
下一页
2019年6月15日
php 错误日志 抛出异常
摘要: <?php // ini_set('display_errors', 'on');// error_reporting(E_ALL|E_STRICT); error_reporting(0);// 错误异常类 错误接管class App{ public function __construct(){
阅读全文
posted @ 2019-06-15 09:14 yahn~
阅读(375)
评论(0)
推荐(0)
2019年6月14日
mysql 预处理
摘要: mysql> prepare getpdo from 'select * from pdo where id=?'; ERROR 1146 (42S02): Table 'yanruicheng.pdo' doesn't exist mysql> prepare getpdo from 'selec
阅读全文
posted @ 2019-06-14 14:12 yahn~
阅读(401)
评论(0)
推荐(0)
ajax请求html内容
摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"/> <title>看新闻</title></head><body> <input type="button" value="看新闻"> <ul></ul></body><script type="te
阅读全文
posted @ 2019-06-14 08:40 yahn~
阅读(3066)
评论(0)
推荐(0)
ajax 解析json
摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"/> <title>唐诗</title></head><body> <input type="button" value = "换一首"> <h1>名称</h1> <h2>作者</h2> <!-- <h
阅读全文
posted @ 2019-06-14 08:22 yahn~
阅读(582)
评论(0)
推荐(0)
2019年6月6日
mysql 查看索引使用情况
摘要: 查看索引的使用情况 Show status like’handler_read%’; mysql> show status like'handler_read%'; + + + | Variable_name | Value | + + + | Handler_read_first | 0 | |
阅读全文
posted @ 2019-06-06 11:55 yahn~
阅读(1882)
评论(0)
推荐(0)
mysql explain详解(索引部分内容)
摘要: 索引搜索变快,但是增删改会变慢 索引本身也要占空间 存在*.myini中的 介绍一款工具 Explain 这是一款分析工具,可以对一个sql语句进行分析,可以预测sql语句执行效率。 mysql> explain select * from emp where empno= 998776\G; **
阅读全文
posted @ 2019-06-06 09:27 yahn~
阅读(434)
评论(0)
推荐(0)
2019年6月5日
我说的就是这里
摘要:
阅读全文
posted @ 2019-06-05 20:10 yahn~
阅读(162)
评论(0)
推荐(0)
mysql 优化
摘要: 数据库的优化主要从4个方面来考量: 1,数据库设计 2,sql语句优化 3,数据库参数配置 4,恰当的硬件资源和操作系统 这个顺序也表现了这4个工作对性能的影响 1,数据库的概念怎么算合理呢? 答:要符合3NF 3范式(3个规范的模式,最高级别到6范式)有时,我们需要适当的逆范式。 2,sql语句的
阅读全文
posted @ 2019-06-05 20:07 yahn~
阅读(183)
评论(0)
推荐(0)
2019年6月4日
php 设计模式->工厂模式
摘要: <?php ini_set("display_errors", "On");error_reporting(E_ALL | E_STRICT);//简单工厂// new mysql('localhost','root','root');// new mysql();//这个模式如果换了mysql类或
阅读全文
posted @ 2019-06-04 08:30 yahn~
阅读(116)
评论(0)
推荐(0)
2019年6月3日
mysql 游标
摘要: 游标取值越界时,利用标志来结束mysql curson中,可以declare continue hander来操作越界标志declare continue handler create procedure p16() begin declare row_gid int; declare row_nu
阅读全文
posted @ 2019-06-03 16:46 yahn~
阅读(131)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
21
下一页
公告