
mysql
寒风呼呼刮
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MySQL中tinytext、text、mediumtext和longtext详解
一、字符串类型类型范围说明 Char(N) [ binary]N=1~255 个字节binary :分辨大小写固定长度std_name cahr(32) not nullVarChar(N) [binary]N=1~255 个字节binary :分辨大小写可变长度std_address varchar(256)TinyBlob最大长度255个字节(2^8-1)Blob (Binary large ...转载 2018-05-14 14:11:23 · 827 阅读 · 0 评论 -
MyBatis之模糊查询(Mysql)
CONCAT() 的语法如下:CONCAT(字串1, 字串2, 字串3, ...): //将字串1、字串2、字串3,等字串连在一起。假设我们有以下的表格:Geography 表格region_namestore_nameEastBostonEastNew YorkWestLos AngelesWestSan Diego例子1:MySQL:SELECT CONCAT(region_name,stor...原创 2018-05-15 10:49:20 · 1782 阅读 · 0 评论 -
navicat 提示“1045 access denied for user 'root'@'localhost' ”解决方法
cmd命令行切换到MySQLbin目录下,mysqld --skip_grant_tables;//跳过权限验证。登录mysql后mysql -u root -p; //mysql首次登录默认密码为空。方法一:mysql>updatemysql.user set authentication_string=password('root') where user='root';...转载 2018-05-31 08:56:28 · 4737 阅读 · 1 评论