杨新春

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页

2016年7月20日

摘要: 在Mysql中创建外键时,经常会遇到问题而失败,这是因为Mysql中还有很多细节需要我们去留意,我自己总结并查阅资料后列出了以下几种常见原因。 1. 两个字段的类型或者大小不严格匹配。例如,如果一个是int(10),那么外键也必须设置成int(10),而不是int(11),也不能是tinyint。另 阅读全文
posted @ 2016-07-20 10:24 杨新春 阅读(269) 评论(0) 推荐(0) 编辑

2016年7月13日

摘要: office project 2010激活方式: 图上中,箭头位置,可能没激活,需要软件激活 ( mini-KMS Activator(Office2010激活工具) V1.2 绿色版 ) 激活方式如下: 下载 执行即可: http://www.3987.com/xiazai/2/46/2451.h 阅读全文
posted @ 2016-07-13 11:41 杨新春 阅读(317) 评论(0) 推荐(0) 编辑

2016年7月12日

摘要: 1.查询日志是否开启 show variables like"log_"; 2.查询是用的哪个日志文件 show master status; 3.定位是在什么时间误删的 /usr/local/mysql/bin/mysqlbinlog /usr/local/mysql/var/mysql-bin. 阅读全文
posted @ 2016-07-12 11:28 杨新春 阅读(856) 评论(0) 推荐(0) 编辑

2016年5月28日

摘要: 注释掉/etc/my.cnf 下面的 #loose-skip-innodb 阅读全文
posted @ 2016-05-28 11:18 杨新春 阅读(142) 评论(0) 推荐(0) 编辑

2016年5月2日

摘要: 下载地址http://www.52z.com/soft/161911.html 汉化包:http://www.7down.net/soft/20586.html phpStorm汉化方法 1、安装原版PhpStorm2、将C:\Program Files (x86)\JetBrains\PhpSto 阅读全文
posted @ 2016-05-02 20:19 杨新春 阅读(328) 评论(0) 推荐(0) 编辑

2016年4月15日

摘要: 外键的定义语法:[CONSTRAINT symbol] FOREIGN KEY [id] (index_col_name, ...) REFERENCES tbl_name (index_col_name, ...) [ON DELETE {RESTRICT | CASCADE | SET NULL 阅读全文
posted @ 2016-04-15 10:55 杨新春 阅读(274) 评论(0) 推荐(0) 编辑

2016年3月10日

摘要: create user 'lixianming'@'localhost' identified by 'lxm123456'; grant all on art.* to 'lixianming'@'localhost'; flush privileges; 注:一定要在黑窗口里面执行这些命令,不然 阅读全文
posted @ 2016-03-10 16:38 杨新春 阅读(133) 评论(0) 推荐(0) 编辑

2016年1月5日

摘要: #!/bin/shuser='root'pass='root'name='vfc_sport'# 数据表名定义timestamp=`date -d "next month" +%Y%m`tablename='vf_sport_'$timestamp# SQL语句mysql -uroot -proot... 阅读全文
posted @ 2016-01-05 09:45 杨新春 阅读(355) 评论(0) 推荐(0) 编辑

2015年12月16日

摘要: 1.在httpd.conf添加多个端口,如下Listen 80Listen 80802.开启Include conf/extra/httpd-vhosts.conf3.具体代码如下 ServerAdmin webmaster@dummy-host.example.com Document... 阅读全文
posted @ 2015-12-16 14:04 杨新春 阅读(300) 评论(0) 推荐(0) 编辑

2015年9月11日

摘要: 把ConvertToUTF8.zip解压放到C:\Program Files\Sublime Text 3\Data\Packages中,重启sublime 3,按ctrl+shift+c即可解决中文乱码问题。下载:http://yunpan.cn/cmbTU5QAj9JKg (提取码:0bc8) 阅读全文
posted @ 2015-09-11 10:52 杨新春 阅读(2230) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 下一页