摘要: 1.概念介绍 字符集(CHARACTER)和校对规则(COLLATION)。 字符集是用来定义mysql存储字符串的方式,校对规则则是定义了比较字符串的方式。 字符集和校对规则是一对多的关系, MySQL支持30多种字符集的70多种校对规则。 2.如何选择? 建议在能够完全满足应用的前提下,尽量使用 阅读全文
posted @ 2019-05-22 10:51 qicaide 阅读(740) 评论(0) 推荐(0) 编辑
摘要: 这里介绍的是通过cmd方式登录和退出Mysql的方式 一、登录命令 登录命令:mysql.exe -h主机地址 -P端口 -u用户名 -p密码 即依次输入服务器地址、服务器监听的端口、用户名、密码 通常情况下本地主机的话是这样的命令 mysql.exe -hlocalhost -P3306 -uro 阅读全文
posted @ 2019-05-18 09:43 qicaide 阅读(1672) 评论(0) 推荐(0) 编辑
摘要: 介绍了启动服务器的两种方式,以及可能遇到的问题 第一种:系统服务 1)可以通过右击方式一步步找到服务 右击计算机->选择管理->找到服务,然后双击打开,找到mysql,我安装的是mysql8.0所以服务的名称显示是mysql80,双击选择启动 2)搜索服务,找到mysql80,双击选择启动 3)通过 阅读全文
posted @ 2019-05-18 08:58 qicaide 阅读(6814) 评论(0) 推荐(0) 编辑
摘要: 1 Numpy 数据类型must be the same type 2 创建ndarray (1)传入一个list (2)特殊的ndarray (3)转换为指定格式的array 3 运算 运算是针对每一个元素进行的 4 索引与切片 (在源数据上改变,不会复制,除非说明 后加.copy()) (1) 阅读全文
posted @ 2019-05-14 11:16 qicaide 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 介绍了如何使用navicat导入数据到数据库 0背景介绍 这里用的软件版本号是11.2.7 1选择要导入的数据库,右击选择导入向导 2 选择导入数据文件的类型 根据要导入数据文件的类型,选择对应的导入类型,在这里也可以看到navicat可支持的格式有很多。 选择完成点击下一步。 扩展:数据文件格式介 阅读全文
posted @ 2019-05-14 10:25 qicaide 阅读(2348) 评论(0) 推荐(0) 编辑
摘要: 可能的原因是本地服务器没有启动,在安装配置MySQL时,我去掉了开机自动开启,所以开机之后出现了错误10061 解决办法: 一、计算机右击选择管理 二、选择服务,找到MySQL,右击手动,选择启动服务 阅读全文
posted @ 2019-04-28 10:02 qicaide 阅读(3627) 评论(0) 推荐(0) 编辑
摘要: 一、 进入MySQL,打开要用navicat连接的数据库 二、打开运行以下代码: 阅读全文
posted @ 2019-04-28 09:56 qicaide 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assu 阅读全文
posted @ 2016-11-04 13:13 qicaide 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 问题描述: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. Note: Each ele 阅读全文
posted @ 2016-11-02 10:23 qicaide 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 题目要求: Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For exampl 阅读全文
posted @ 2016-11-01 17:47 qicaide 阅读(164) 评论(0) 推荐(0) 编辑