
mysql基础
文章平均质量分 80
oracle_liuchao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mysql5.6.20编译安装
1,调整最大文件数限制 ulimit -n 1024 #这个是默认值 echo ulimit -n 65535 >>/etc/profile source /etc/profile #加载修改后的profile ulimit -n #显示65535,修改完毕! 2,修改IO调度器设置 [root@mysql原创 2014-09-11 15:13:36 · 475 阅读 · 0 评论 -
mysql组复制单主模式
[client] user = root password = QWdslcfjz^0$ [mysql] prompt = [\\u@\\h][\\d]>\\_ [mysqld] # basic settings # user = mysql sql_mode = "STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION,NO_原创 2017-10-30 06:07:10 · 718 阅读 · 0 评论 -
mysql centos操作系统优化
CentOS系统参数优化 众所周知,Mysql能安装在各大操作系统上,特别是对于很多个人开发者,都喜欢把开发放在windows上面,但是实际上线的项目都是需要部署到服务器上。虽然说Windows也能作服务器,但实际应用中比较少,而更多的是使用基于Linux的CentOS系统,原因自然是稳定安全性高,并且CentOS也是免费的操作系统。 所以这里是针对MySQL的性能进行的CentOS系统参数的转载 2017-10-28 09:17:09 · 462 阅读 · 0 评论 -
mysql 5.7主从同步简单配置
grant replication slave on *.* to 'rpl'@'%' identified by 'asdfasdf'; mysqldump --single-transaction --master-data=1 -A > a.sql CHANGE MASTER TO MASTER_HOST='192.168.1.128', MASTER原创 2017-09-22 14:19:03 · 346 阅读 · 0 评论 -
mysql_config_editor实现mysql无密码登录
mysql_config_editor set -G mysql2 -uroot -p -S /opt/mysql/data2/mysql.sock3307 mysql --login-path=mysql2 mysql_config_editor print mysql_config_editor set -G mysql2 -uroot -p -S /opt/my原创 2017-09-22 13:59:52 · 395 阅读 · 0 评论 -
mysql 5.7多实例安装
[client] user = root password = xxxx 这里是为了在mysql登录的时候直接-S,不需要输入密码 [mysql] prompt = [\\u@\\h][\\d]>\\_ [mysqld] # basic settings # user = mysql sql_mode = "STRICT_TRANS_TABLES,NO_EN原创 2017-09-22 13:53:45 · 333 阅读 · 0 评论 -
mysql 5.6 5.7 my.cnf配置文件
# author: jiangchengyao@gmail.com This configration file opts for MySQL 5.6 and 5.7. If you have any problem, dont hesitate to concact me. Let us make an optimal MySQL configuration file templa转载 2017-09-12 09:40:51 · 2257 阅读 · 0 评论 -
mysql5.7官方文档翻译之:Installing MySQL on Unix/Linux Using Generic Binaries
2.2 Installing MySQL on Unix/Linux Using Generic Binaries Oracle provides a set of binary distributions of MySQL. These include generic binary distributions in the form of compressed tar files翻译 2017-09-11 15:23:28 · 369 阅读 · 0 评论 -
percona mysql5.7.14安装tokudb引擎
[root@python data3306]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 Server version: 5.7.14-7-log Percona Server (GPL),原创 2016-08-25 13:42:35 · 2144 阅读 · 0 评论 -
percona server的安装启动配置
1,调整最大文件数限制 ulimit -n 1024 #这个是默认值 echo ulimit -n 65535 >>/etc/profile source /etc/profile #加载修改后的profile ulimit -n #显示65535,修改完毕! 2,修改IO调度器设置 [root@mysql support-files]# cat /原创 2014-09-13 16:01:55 · 2725 阅读 · 0 评论 -
mysql多实例的配置
初始化数据库 /opt/mysql/scripts/mysql_install_db --basedir=/opt/mysql --datadir=/opt/mysql/data3306 --user=mysql /opt/mysql/scripts/mysql_install_db --basedir=/opt/mysql --datadir=/opt/mysql/data3307 --us原创 2014-09-12 13:54:17 · 418 阅读 · 0 评论 -
mysql多实例组复制配置
[client] user = root password = QWdslcfjz^0$ [mysql] prompt = [\\u@\\h][\\d]>\\_ [mysqld] # basic settings # user = mysql sql_mode = "STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION,NO_原创 2017-10-26 11:35:34 · 453 阅读 · 0 评论