-
Mysql系列-数据库start
一 、数据库管理软件的由来 基于我们之前所学,数据要想永久保存,都是保存于文件中,毫无疑问,一个文件仅仅只能存在于某一台机器上。 如果我们暂且忽略直接基于文件来存取数据的效率问题,并且假设程序所有的组件都运行在一台机器上, 那么用文件存取数据,并没有问...
2018-06-18 02:46:47 mysql安装mysql客户端mysql配置启动mysqlmysql介绍mysql是什么mysql软件下载mysqlsql mysqlsql是什么
-
利用binlog2sql闪回丢失数据
today,i'll using the open source tool named "binlog2sql" which is release by danfengchao to do some flashback test. here's the github address:https://github.com/danfengcao/binlog2sql according to the readme.md doc,using "git" command to download it...
2018-06-18 01:40:39 sql mysql
-
MySQL 5.7基于GTID的主从复制
since i've broken down the replication enviornment by "reset master;" yesterday.therefore,i'd like to reconfigure it again,there're several simple steps below: I. Master node operations: 1 1 . Check the necessary parameter is surely spedified. 2 (ro...
2018-06-18 01:39:37 sql mysql
-
执行SQL查询导致磁盘耗尽故障演示
a fellow in IMG wechat group 2 met an error about running out of disk space when using MySQL query today,now let's mimic the situation: first,i'll create a test table and a procedure,then using the procedure to insert 1000W records into test table "...
2018-06-18 01:37:52 sql mysql
-
利用MyFlash闪回丢失数据
MyFlash is an open source tool released by Meituan-Dianping which can be used to flashback MySQL DML data.here's the github link: https://github.com/Meituan-Dianping/MyFlash after downloaded the tool and extracted the zip package,i got this structur...
2018-06-18 01:37:50 sql mysql
-
MySQL 5.7修改root密码的4种方法
sometimes we will forget our password of root in MySQL DB server.so,there're several methods below to solve these kind of issues. I. ALTER USER ... pkill mysqld vim my.cnf - add skip-grants-tables sh mysqld.sh mysql -S /tmp/mysql3306.sock flush priv...
2018-06-18 01:36:42 sql mysql
-
多线程与MySQL(十)
1.1 多线程 在传统操作系统中,每个进程有一个地址空间,而且默认就有一个控制线程 线程顾名思义,就是一条流水线工作的过程,一条流水线必须属于一个车间,一个车间的工作过程是一个进程 车间负责把资源整合到一起,是一个资源单位,而一个车间内至少有一个流水线 流...
2018-06-18 01:33:43 mysql安装mysql客户端mysql配置启动mysqlmysql是什么mysql软件下载mysqlsql mysqlsql是什么sql安装
-
Linux yum安装mysql5.7
查看是否有mysql软件 rpm -qa|grep mysql 删除旧版本mysql yum remove mysql mysql -server mysql -libs mysql -common rm -rf / var/lib/mysql rm /etc/my .cnf 选择一个发布系列 手动编辑 /etc/yum.repos.d/mysql-community.repo 文件 vi /etc/yum.repos.d/mysql-com...
-
MySQL常用操作
建数据库:CREATE DATABASE database_name; 显示数据库列表:show databases; 使其成为当前操作数据库:use 数据库名; 删除数据库语法:DROP DATABSE 数据库名; 创建表:CREATE TABLE 表名( 属性名 数据类型 [完整性约束条件], 属性名 数据类型 [完整性约束条件], …...
-
解决mysql远程登录
MySQL不允许远程登录,所以远程登录失败了,解决方法如下: 在装有MySQL的机器上登录MySQL mysql -u root -p密码 执行 use mysql; 执行 update user set host = '%' where user = 'root'; 这一句执行完可能会报错,不用管它。 执行 FLUSH PRIVILEGES;...
2018-06-18 01:31:32 sql mysql
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash
