随笔分类 -  MySQL

摘要:前置语句 查询指定库中的所以表和所有字段: SELECT a.TABLE_NAME '表名', ORDINAL_POSITION '顺序', COLUMN_NAME '字段', DATA_TYPE '类型', CHARACTER_OCTET_LENGTH '字节长', IF(COLUMN_KEY = 阅读全文
posted @ 2021-07-07 11:01 三瑞 阅读(857) 评论(0) 推荐(0) 编辑
摘要:一、主从复制 1、主配置 [mysqld] server-id=11 #任意自然数n,只要保证两台MySQL主机不重复就可以了。 log-bin=mysql-bin #开启二进制日志 auto_increment_increment=2 #步进值auto_imcrement。一般有n台主MySQL就 阅读全文
posted @ 2021-03-10 21:53 三瑞 阅读(168) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-11-24 18:39 三瑞 阅读(0) 评论(0) 推荐(0) 编辑
摘要:SqlHelper.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; public static class SqlHelper { /// <summary> /// 替 阅读全文
posted @ 2020-09-02 20:39 三瑞 阅读(151) 评论(0) 推荐(0) 编辑
摘要:mysql备份的4种方式 https://www.cnblogs.com/gered/p/10410978.html centos7安装Xtrabackup https://www.cnblogs.com/51redhat/p/11995901.html Navicat for MySQL 备份还原 阅读全文
posted @ 2020-07-11 22:52 三瑞 阅读(186) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/andrewgao/archive/2013/02/01/2888962.html?utm_source=tuicool https://blog.csdn.net/weixin_42055105/article/details/87854739 ht 阅读全文
posted @ 2020-06-19 11:09 三瑞 阅读(278) 评论(0) 推荐(0) 编辑
摘要:SQL Server select substring(sys.fn_sqlvarbasetostr(HashBytes('MD5','123456')),3,32) 其他 阅读全文
posted @ 2020-06-19 10:00 三瑞 阅读(162) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-03-19 22:14 三瑞 阅读(0) 评论(0) 推荐(0) 编辑
摘要:Begin Windows 安装OpenSSL https://www.openssl.org/source/ http://slproweb.com/products/Win32OpenSSL.htmlhttp://slproweb.com/download/Win64OpenSSL-1_0_2u 阅读全文
posted @ 2020-03-11 22:40 三瑞 阅读(2166) 评论(0) 推荐(0) 编辑
摘要:如果有服务,使用下面命令删除,管理员身份打开cmd : net stop mysqlsc delete mysqlpause 1、下载 https://dev.mysql.com/downloads/mysql/5.7.html 没有的Oracle帐号怕麻烦的可以在些下载: 链接:https://p 阅读全文
posted @ 2019-12-06 15:01 三瑞 阅读(1505) 评论(0) 推荐(0) 编辑
摘要:引用:https://www.jb51.net/article/140951.htm 1.首先,你要下载MySQL解压版,下载地址,图解: 2.解压安装包,根据自己的喜好选择路径,我选择的路径是C:\software\,因此MySQL的完整路径为:C:\software\mysql-5.7.21-w 阅读全文
posted @ 2019-04-27 15:40 三瑞 阅读(161) 评论(0) 推荐(0) 编辑
摘要:Application Exception MySql.Data.MySqlClient.MySqlException FUNCTION account.AddMinutes does not exist Description: HTTP 500.Error processing request. 阅读全文
posted @ 2018-04-24 21:04 三瑞 阅读(931) 评论(0) 推荐(0) 编辑
摘要:手动下载安装: 进入网站:https://downloads.mysql.com/ 选择 MySQL Community Server 点击选项卡 archives 找到你要安装的版本。 如: https://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.33 阅读全文
posted @ 2018-04-06 21:18 三瑞 阅读(274) 评论(0) 推荐(0) 编辑
摘要:1、首先看服务器防火墙 引用:http://www.cnblogs.com/silent2012/archive/2015/07/28/4682770.html CentOS 7.0默认使用的是firewall作为防火墙,使用iptables必须重新设置一下 1、直接关闭防火墙 systemctl 阅读全文
posted @ 2017-10-12 15:26 三瑞 阅读(256) 评论(0) 推荐(0) 编辑
摘要:一、成功的经历 背景(废话不用看):自己对Linux不是很熟悉,说难听点就是门都没有么到!基于这近年大数据之类的热闹话题,自己就想学习一下!开始下的是Minimal ISO这个版本,Vbox5虚拟机,想自己动手照猫画虎的学习 一下。谁知道并不是自己想象那么容易,全是命令,头开始有点疼了!关共享一下数 阅读全文
posted @ 2017-10-12 10:07 三瑞 阅读(211) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示