热点随笔: · .NET十年回顾(老坏猫)· Jenkins 在声明式 pipeline 中并行执行任务(sparkdev)· 五年.net程序员转型Java之路(TinyLeon)· Net知识图谱(zyv)· 最接近原生APP体验的高性能前端框架——MUI(李浩海已被使用)· 分布式系统中生成全 ...
分类:
其他好文 时间:
2017-10-09 09:51:40
阅读次数:
160
# name = 'my \t name is {name},age is {age}.'# print(name.capitalize())#首字母大写# print(name.center(100,'S'))#50个-,把name放中间# print('欢迎看日志'.center(100,'*' ...
分类:
其他好文 时间:
2017-10-09 02:04:22
阅读次数:
198
创建普通索引 另一种建立方式: 查看索引 mysql 索引名称:不同表可以重复的,同一张表不能重复. 其他相关: 1.添加PRIMARY KEY(主键索引) 2.添加UNIQUE(唯一索引) 3.添加FULLTEXT(全文索引) ...
分类:
数据库 时间:
2017-10-08 18:59:22
阅读次数:
143
https://www.tutorialspoint.com/mysql/index.htm https://www.w3cschool.cn/mysql/mysql-install-setup.html https://colaly.gitbooks.io/mysql/content/ ...
分类:
数据库 时间:
2017-10-08 16:57:15
阅读次数:
183
实例: SQL模糊查询,使用like比较关键字,加上SQL里的通配符,请参考以下: 1、LIKE'Mc%' 将搜索以字母 Mc 开头的所有字符串(如 McBadden)。 2、LIKE'%inger' 将搜索以字母 inger 结尾的所有字符串(如 Ringer、Stringer)。 3、LIKE' ...
分类:
数据库 时间:
2017-10-08 15:30:00
阅读次数:
172
在本机终端中输入:mysql -h <remote host> -P 3306 -u root -p,然后输入密码。 如果连接失败,很有可能是服务器中mysql的配置中绑定了IP,这时需要更改mysql配置,在服务器终端输入sudo vim /etc/mysql/my.cnf,或者sudo vim ...
分类:
数据库 时间:
2017-10-08 12:59:44
阅读次数:
178
已验证没问题 #1.停止mysql数据库 /etc/init.d/mysqld stop #2.执行如下命令 mysqld_safe --user=mysql --skip-grant-tables --skip-networking & #3.使用root登录mysql数据库 mysql -u r ...
分类:
数据库 时间:
2017-10-08 00:55:33
阅读次数:
248
<?xml version="1.0"?> -<beans xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans ...
分类:
其他好文 时间:
2017-10-07 16:22:42
阅读次数:
186
昨天新配了台电脑,去官网下载了mysql-5.7.19-winx64,用hibernate自动创建表时出错。 OK了 ...
分类:
数据库 时间:
2017-10-07 14:31:29
阅读次数:
190