I am a Solivagant
Lofter    Posts     新文章     文章管理     新日记     日记管理

随笔分类 -  MySQL

摘要:Data Manipulation Language, DML 数据操纵语言Insert update delete CRUD :create read update delete 阅读全文
posted @ 2018-06-11 20:22 宛如ZZ 阅读(596) 评论(0) 推荐(0)
摘要:将#{}换成'${}'然后拼接%等. 阅读全文
posted @ 2018-06-07 15:33 宛如ZZ 阅读(188) 评论(0) 推荐(0)
摘要:MySQL: String Driver="com.mysql.jdbc.Driver"; //驱动程序 String URL="jdbc:mysql://localhost:3306/db_name"; //连接的URL,db_name为数据库名 String Username="username 阅读全文
posted @ 2018-05-29 22:37 宛如ZZ 阅读(425) 评论(0) 推荐(0)
摘要:utf-8 时变化长度的编码,储存一个code point 需要1~4个字节. 然而,mysql的utf8只存储最多3个字节per code point. 所以,utf8字符集不能存储所有的unicode code points. 只能从0x000 to 0xFFFF(叫做Basic Multili 阅读全文
posted @ 2018-05-26 19:43 宛如ZZ 阅读(938) 评论(0) 推荐(0)
摘要:1. 使用强密码加密授权(推荐) 8.0提供的心的授权方式,采用SHA256基础的密码加密方法. 但是需要新版本的connector,目前和Connector/J最新的时8.0 目前8.0的连接器和使用libmysqlclient8.0的社区驱动都支持这种新方法. 如果客户端和应用程序不能更新来支持 阅读全文
posted @ 2018-05-26 18:21 宛如ZZ 阅读(13913) 评论(0) 推荐(1)
摘要:MySQL Shell 是一个高级的命令行客户端以及代码编辑器for Mysql. 除了SQL,MySQL Shell也提供脚本能力 for JS and Python. When MySQL shell is conected to the MySQL server throught the X 阅读全文
posted @ 2018-05-26 18:11 宛如ZZ 阅读(594) 评论(0) 推荐(0)
摘要:在MySQL中,schema和database是同义词. CREATE SCHEMA和CREATE DATABASE是等效的. 但是其他的数据库产品(几乎所有数据库)有所不同.在oracle数据库产品中,schema是database的一部分. 表示the tables and other obje 阅读全文
posted @ 2018-05-26 16:40 宛如ZZ 阅读(26981) 评论(0) 推荐(1)
摘要:5.1 Developer Guide 1. MysQL为由Java语言编程的客户端程序提供连接:MySQL Connector/J,这是一个实现Java Database Connectivity(JDBC) API的驱动. 2.MySQL Connector/J 是一个JDBC Type 4驱动 阅读全文
posted @ 2018-05-17 17:09 宛如ZZ 阅读(13117) 评论(0) 推荐(0)
摘要:Physical(Raw) and Logical Backup: 1.Physical backups consist of raw copies of the directories and files that store database contents. This type of bac 阅读全文
posted @ 2018-05-17 15:15 宛如ZZ 阅读(248) 评论(0) 推荐(0)
摘要:mysqld is the MySQL server. configuring the server. The mysql server, mysqld,has many command options and system variables that can be set at startop 阅读全文
posted @ 2018-05-17 14:08 宛如ZZ 阅读(174) 评论(0) 推荐(0)
摘要:1. mysqld-The MySQL Server mysqld,also known as mysql server, is the main program that does most of the work in a MySQL installation. MySQL server man 阅读全文
posted @ 2018-05-16 19:26 宛如ZZ 阅读(121) 评论(0) 推荐(0)
摘要:Some option are 'boolean' and control behavior that can be turned on or off. --column-names option determines whether or not to display a row of colum 阅读全文
posted @ 2018-05-16 16:28 宛如ZZ 阅读(114) 评论(0) 推荐(0)