本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
magento2 wdcp_v3安装程序时报错误:  exception 'Exception' with message 'Warning: Error while sending QUERY packet以下是修改的wdcp mysql5.6的配置文件,修改后重启,就可以了。# mysql conf /etc/my.cnf# Created by http://www.wdlinux.cn# Last Updated 2010.06.01[client]port        = 3306socket        = /tmp/mysql.sock[mysqld]port        = 3306socket        = /tmp/mysql.sockskip-external-lockingkey_buffer_size = 32Mmax_allowed_packet = 64Mtable_open_cache = 512sort_buffer_size = 1Mread_buffer_size = 1Mread_rnd_buffer_size = 2Mmyisam_sort_buffer_size = 8Mthread_cache_size = 8query_cache_size = 64Mthread_concurrency = 8max_connections = 5000wait_timeout = 100interactive_timeout = 30max_connect_errors = 9long_query_time = 1tmp_table_size = 32M#log-bin=mysql-bin#binlog_format=mixed#server-id    = 1[mysqldump]quickmax_allowed_packet = 8M[mysql]no-auto-rehash[my...
 
0

mysql-proxy读写分离

发表者:admin分类:数据库2016-06-07 17:17:01 阅读[1939]
下载地址:mysql-proxy-0.8.3-linux-glibc2.3-x86-64bit.tar.gzhttp://downloads.mysql.com/archives/proxy/添加用户:[root@martin  tools]# groupadd -r -g 303 mysql-proxy [root@martin  tools]# useradd -g mysql -u 303 -r -s /sbin/nologin mysql-proxy[root@martin tools]# tar xf mysql-proxy-0.8.3-linux-glibc2.3-x86-64bit.tar.gz  -C /usr/local/ [root@martin tools]# cd /usr/local/ [root@martin local]# ln -sv mysql-proxy-0.8.3-linux-glibc2.3-x86-64bit/ mysql-proxy配置服务脚本:[root@martin mysql-proxy]# vim /etc/rc.d/init.d/mysql-proxy #!/bin/bash # # mysql-proxy This script starts and stops the mysql-proxy daemon # # chkconfig: - 78 30 # processname: mysql-proxy # description: mysql-proxy is a proxy daemon for mysql # Source function library. . /etc/rc.d/init.d/functionsprog="/usr/local/mysql-proxy/bin/mysql-proxy"conf="/etc/mysql-proxy.cnf"PROXY_PID="/var/run/mysql-proxy.pid"  # Check that networking is up. [ ${NETWORKING} = "no" ] &...
Lepus(天兔) 是数据库企业监控系统,针对互联网企业开发的一款专业、强大的企业数据库监控管理系统,企业通过Lepus可以对数据库的实时健康和各种性能指标进行全方位的监控。目前已经支持MySQL、Oracle、MongoDB、Redis数据库的全面监控. Lepus可以在数据库出现故障或者潜在性能问题时,根据用户设置及时将数据库的异常进行报警通知到数据库管理员进行处理和优化,帮助企业解决数据库性能监控问题,及时发现性能和瓶颈,避免由数据库潜在问题造成的直接经济损失。Lepus能够查看各种实时性能状态指标,并且对监控、性能数据进行统计分析,从运维者到决策者多个层面的视角,查看相关报表。帮助决策者对未来数据库容量进行更好的规划,从而降低了硬件成本。Lepus 是一个真正的能够帮助企业解决数据库监控和运维的问题,主要可以帮企业解决如下问题:1.帮助企业解决数据库性能监控问题,及时发现性能和瓶颈,避免由数据库潜在问题造成的直接经济损失 "Lepus数据库企业监控系统"是针对互联网企业开发的一款专业、强大的企业数据库监控管理系统,企业通过Lepus可以对数据库的实时健康和各种性能指标进行全方位的监控。目前已经支持MySQL、Oracle、MongoDB、Redis数...
Table of Contents      Steps for a Fresh Installation of MySQL Installing Additional MySQL Products and Components Upgrading MySQL with the MySQL Yum Repository Replacing a Native Third-Party Distribution of MySQLSteps for a Fresh Installation of MySQLNote The following instructions assume that MySQL is not already installed on your system using a third-party-distributed RPM package; if that is not the case, follow the instructions given in Replacing a Native Third-Party Distribution of MySQL.Adding the MySQL Yum Repository First, add the MySQL Yum repository to your system's repository list. Follow these steps: Go to the download page for MySQL Yum repository at http://dev.mysql.com/downloads/repo/yum/. Select and download the release package for your platform. ...
SQL> startupORA-01081: 无法启动已在运行的 ORACLE - 请首先关闭它SQL> startupORA-01081: 无法启动已在运行的 ORACLE - 请首先关闭它SQL> shutdown abortORACLE 例程已经关闭。SQL> startupORACLE 例程已经启动。Total System Global Area  612368384 bytesFixed Size                  1250428 bytesVariable Size             306187140 bytesDatabase Buffers          297795584 bytesRedo Buffers                7135232 bytes数据库装载完毕。ORA-16038: 日志 1 序列号 77 无法归档ORA-19809: 超出了恢复文件数的限制ORA-00312: 联机日志 1 线程 1:'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'查看报警文件,如下信息:ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 100.00% used, and has 0 remaining bytes availableSQL>...
mysql主从配置以及基于amoeba实现读写分离 版权声明:本文为博主原创文章,未经博主允许不得转载。  mysql主从配置以及基于amoeba实现读写分离首先硬件设备 :ubuntu12.04 server 64三台主机ip地址:master 192.168.1.8   slave 192.168.1.15         amoeda  192.168.1.16软件版本: mysql 5.5   java6  amoeba 3.0.5首先配置mysql主从关系a,安装配置master节点root@i-70bl6kfl:~# apt-get install mysql-serverb, 配置masterroot@i-zvjoik10:~# vi /etc/mysql/my.cnf bind-address            = 0.0.0.0[mysqld]server-id=1log_bin=/var/log/mysql/mysql-bin.logc,同理安装slave节点并配置# vi /etc/mysql/my.cnf bind-address            = 0.0.0.0[mysqld]log_bin           = /var/log/mysql/mysql-bin.logserver_id         = 2relay_log         =mysql-relay-binlog_slave_update...
MySQL主从复制的原理及配置方法 MySQL 的数据库的高可用性的架构大概有以下几种:集群,读写分离,主备。而后面两种都是通过复制来实现的。下面将简单介绍复制的原理及配置,以及一些常见的问题 一、复制的原理MySQL 复制基于主服务器在二进制日志中跟踪所有对数据库的更改(更新、删除等等)。每个从服务器从主服务器接收主服务器已经记录到其二进制日志的保存的更新,以便从服务器可以对其数据拷贝执行相同的更新。将主服务器的数据拷贝到从服务器的一个途径是使用LOAD DATA FROM MASTER语句。请注意LOAD DATA FROM MASTER目前只在所有表使用MyISAM存储引擎的主服务器上工作。并且,该语句将获得全局读锁定。MySQL 使用3个线程来执行复制功能,其中1个在主服务器上,另两个在从服务器上。当发出START SLAVE时,从服务器创建一个I/O线程,以连接主服务器并让它发送记录在其二进制日志中的语句。主服务器创建一个线程将二进制日志中的内容发送到从服务器。该线程可以识别为主服务器上SHOW PROCESSLIST的输出中的Binlog Dump线程。从服务器I/O线程读取主服务器Binlog Dump线程发送的内容并将该数据拷贝到从服务器数据目录...
On a computer that has a multicore processor, you may be unable to install SQL Server 2005  Email  Print SymptomsConsider the following scenario. You try to install Microsoft SQL Server 2005 on a computer that has a multicore processor, and one of the following conditions is true:The ratio between logical processors and physical sockets is not a power of 2. For example, the computer has a single socket together with a triple-core processor. The number of physical cores is not a power of 2.The total number of CPUs is an odd number. For example, there are seven or nine CPUs.In these scenarios, you cannot install SQL Server 2005.When the installation fails, the following error message is logged in the Summary.txt file:The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Ser...
oneproxy---mysql代理集群安装    OneProxy是一款数据库中间件,与目前市面上的TDDL、MySQL-Proxy属于同类型产品。我们坚持研发OneProxy是基于如下几点考虑:      1. 我们不想被某一种开发语言绑定:TDDL绑定了客户必须使用JAVA做开发语言,而且整个一套系统的正常运行非常依赖于强大的配置推送中心和雄厚的运维团队;      2. 使用上必须透明: MySQL-Proxy实现了MySQL协议,使得其看起来就像一个MySQL数据库一样,因此客户可以使用任何他们喜欢的语言来操作数据库。因此OneProxy借鉴了其在协议上的实现。      3. 我们需要更稳定,更多功能的中间件: 令人痛心的是,官方对这款产品的重视度好像不够。从2007年第一版推出到2015年都快八年了,仍未达到GA状态。   我们的OneProxy是楼方鑫倾力打造的一款产品,里面的每一行代码都流淌着丰富的经验。可以说,OneProxy生而为实战。     那我在这里先向大家丢出一个最常遇见的问题,如果数据库挂掉怎么办?        1. 手动改应用配置,太low;就算这不是太low的事情,但是当你有20个应用要手动改呢?      &n...
您所在的组无权查看该日志
    总共51页,当前第22页 | 页数:
  1. 12
  2. 13
  3. 14
  4. 15
  5. 16
  6. 17
  7. 18
  8. 19
  9. 20
  10. 21
  11. 22
  12. 23
  13. 24
  14. 25
  15. 26
  16. 27
  17. 28
  18. 29
  19. 30
  20. 31
  21. 32