PHP札记

WBOY
Release: 2016-06-13 12:24:04
Original
772 people have browsed it

PHP笔记


Mysql
-----------------------------------------------------------------------------

Mysql 改默认密码
update mysql.user set Password=PASSWORD('123456') WHERE User='root'
FLUSH PRIVILEGES

去了解下MYSQL的范式、反范式、混合范式
还有索引的建立
cmd命令行


全文索引
------------------------------
alter tabletable_reg_c addfulltext(catalog)

repair table tablename quick

select * from table_reg_c where match(`catalog`) against('2 in boolean mode')

select* fromtable_reg_c wherematch(`catalog`) against(2)

UPDATE`infinite_class`.`table_reg_c`SET`catalog`= '0,10000,20000,30000'WHERE`table_reg_c`.`id`= 3;

explainSELECT*FROM`table_reg_c`WHEREmatch(catalog)against('20000')

explain SELECT * FROM `table_reg_c` WHERE match(catalog) against('20000')

 

#Apache
------------------------------------------------------------------------------
Apache\bin\ApacheMonitor.exe

 

#mysqld

----------------------------------------------------
mysqld install 安装
net start mysql 启动服务

 

zend 代码风格
----------------------------------------------------------------
formatter {}

ctrl+shift+f 全选按这个会自动排版了

 

2楼九分
写的笔记而已,有空整理,自己的笔记是不是不公开好呢?
1楼poxiao2015
都是些什么玩意啊。。。。。写点质量高的
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template