Quantcast
Channel: MySQL Forums - Router & Proxy
Browsing all 344 articles
Browse latest View live
↧

configure mysql-proxy with Apache server (no replies)

Hi, I am using mysql cluster, and data node connected to apache server. Configueration is: MGM Node + Mysql-Proxy 10.6.26.38 Data Node 10.6.26.18 Data Node 10.6.26.28 Apache Server 10.6.26.8 Apache...

View Article


Sending specific SQL after connection (no replies)

I am now trying rw-splitting.lua with Rails 2.3.2 (or newer) and MySQL 5.1.43. I found that ActiveRecord's MySQL connector does the following after new connection is established: 1. Send SET NAMES if...

View Article


Persistent connection to non-persistent connection conversion (no replies)

Hi, We have a closed source data-logging application that is using a persistent connection to the MySQL database. Unfortunately we have no control over this application. Now our MySQL database host...

View Article

How to switch backend database on time basis ? (no replies)

HI All, My application sends only select queries to the backend servers. Now , i have two backend servers and i need to developed mysql proxy on such time basis thay suppose 6-7 hours/day mysql-proxy...

View Article

mysql-proxy and users with no localhost permission (1 reply)

Hi all, I have just installed mysql-proxy 0.8.0 in the same server I run a MySQL 5.0.67, lets call it SERVER A. I am able to start the proxy successfully, providing only the LUA script option and it...

View Article


How the Mysql proxy to deal with the procedure? (1 reply)

Hi all : I have a question about the mysql proxy and the procedure! The mysql proxy how to process the procedure? If my procedure contain select and insert/update transaction,how to split those...

View Article

mysql-proxy configuration file problem (2 replies)

following is my mysql-proxy.cnf [mysql-proxy] daemon = true proxy-address = 10.10.10.70:4040 proxy-backend-addresses = 10.10.10.224:3306 proxy-backend-addresses = 10.10.10.41:3306 log-file =...

View Article

Problem to Read Mysql Proxy Backend Addresses (1 reply)

Preview Problem to Read Mysql Proxy Backend Addresses Hi Recently i installed mysql-proxy-0.7.2 in ubuntu operating system. I assigned proxy-backend-addresses = 127.0.0.1:3306 (default) through...

View Article


MySQL-proxy Keepalive not working? (2 replies)

Hi all, I'm new to the usage of mysql-proxy. I have a set up of 1 proxy server, 2 cluster api and 2 data nodes. The proxy is working as planned - acting as the single access channel to the databases....

View Article


Config Issue, Multiple Listing IP Address (2 replies)

Hello, I am trying to set up MySQL Proxy 0.8.0 to accept client connections on 3 diffrent ip address is this possible? Here is what I have tryed: Config Attempt 1: ----------- proxy-address =...

View Article

round robin depends on client or... ? (1 reply)

Hello, i do some tests and i see that mysql proxy connets always the same client to same backend. only if a new client with other IP is connecting the next backend is used. In my environment in most...

View Article

mysql-proxy admin functions (2 replies)

Hi all, I'm having some issues trying to get the following 2 admin queries to work. 1) Select * from proxy_config; 2) Select * from proxy_connections; When I execute the 2 quries, all I get is ERROR...

View Article

Multiple 'proxy-address' statements? (5 replies)

I'm trying to fool an application that normally connects to a database on 'localhost':3306, and also uses a mysql.sock socket file. I'd like to keep the MySQL database separate without editing 100s of...

View Article


Compile Error in mysql-proxy-0.6.1 (no replies)

It looks like http://forums.mysql.com/read.php?146,175053,175053 , But I can't fix it with './configure CFLAGS="-lm"'

View Article

mysql proxy hanging (1 reply)

Hi, I have latest mysql proxy running on a 64bit CentOS. I am trying to use it as a load balancer for 2 backend mysql servers with master/master replication. My problem is that when there are a lot of...

View Article


can't get proxy.connection.server.dst.name (3 replies)

hai i'm a newbie who uses LUA and mysql proxy as my last project in my institute i'm having a trouble with the mysql proxy here my code function read_handshake( auth ) print("<-- let's send him...

View Article

proxy backend index (no replies)

i want to know about the index when proxy.global.backends was called when i have one backend if it's read write backend there is just only one index with the ip of backend but if read only there will...

View Article


Redirecting client to specific backend on a user/db basis (2 replies)

Hello, The company I work for would like to set up a production environment in which client applications would have one point of entry and then be redirected to multiple MySQL instances/servers. The...

View Article

Be careful, some lua script lead the proxy 0.6.1 core . (no replies)

If there are many clients access proxy which with more than 2 backends, the proxy 0.6.1 will be cored some times, The back trace is as following : (gdb) bt #0 0x08054886 in proxy_resultset_field_get...

View Article

How to get row count by lua in resultset exactly? (1 reply)

I use script as following to get the row count, local row_count = 0 for row in res.rows do row_count = row_count + 1 end I found the row_count is error,some times. for example. There is 1 row result...

View Article
Browsing all 344 articles
Browse latest View live