摘要: 方式一: select book_name,price from books where match(detail) against('hello'); 方式二: select match(detail) against('hello') from books; 阅读全文
posted @ 2019-12-02 10:39 特战小鸟nmx 阅读(357) 评论(0) 推荐(0)
摘要: 一、MyISAM与InnoDB两者之间区别 1、MyISAM:默认表类型,它是基于传统的ISAM类型,ISAM是Indexed Sequential Access Method (有索引的顺序访问方法) 的缩写,它是存储记录和文件的标准方法。不是事务安全的,而且不支持外键,如果执行大量的select 阅读全文
posted @ 2019-11-27 17:55 特战小鸟nmx 阅读(196) 评论(0) 推荐(0)
摘要: 1、添加字段(alter、add) mysql> alter table users add name varchar(30) not null after id; 2、修改字段(alter、modify/change) mysql> alter table users modify telno i 阅读全文
posted @ 2019-11-27 17:05 特战小鸟nmx 阅读(14058) 评论(0) 推荐(1)
摘要: 1、查看系统版本 [niemx@localhost ~]$ cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 2、安装软件准备 (1)apr-1.5.2.tar.bz2 Apache可移植运行时(APR)是Apache web服 阅读全文
posted @ 2019-11-27 12:37 特战小鸟nmx 阅读(1221) 评论(0) 推荐(0)