Using mysql-proxy without changing port on LinuxDeveloped In: bash — Contributed by: Giuseppe Maxia
You can use MySQL Proxy to enhance server features, to filter off dangerous queries, to enable customized logs, and much more.
If you need that all your users go through the proxy, you could stop the server and change the port, then instruct the Proxy to answer to port 3306.
But there is an easier way. On Linux, you can set an IPtables rule to redirect the traffic from 3306 to 4040, and that is transparent for your applications.
MySQL Proxy is a simple program that sits between your client and MySQL server that can monitor, analyze or transform their communication. See
http://forge.mysql.com/wiki/MySQL_Proxy for more information.
Use of this feature will be described in an upcoming article
bash
Thank you. I really appreciate that you provide the codes too. Just need more samples to work out my system. Feel free to visit my site for some discount codes if you like. Thank you. Hello, I am Jane. I agree that using mysql will really ease the transition. Just watch a movie about this too and get many ideas and tutorials there. Thank you. I have read the article on Wiki. I have a set of promotional usb drives I need to install on the hardware. I hope to find some information about installing them here. I would like to find further about changing the port of server, finding dangerous queries, and customizing logs. people search for the easiest way to this, me too, but the search seems to be countless, lol.. I like the sample that is explained quite clearly. We are still dealing with the construction industry website which is currently on progress. Hopefully it is settled soon. Thank you. How to know if the queries are dangerous if we do it manually? I don;t have the tool for this since the data and system is also not many. Let em know. Thanks! Mya -- emu oil I have tried to change the port in militare ordine del collare. But there is still problem with the manual work. Should spend more time on this. Thanks for the both highlighted and plain ext codes. I can now see the difference better, Since I am a beginner, I don't know much how to manage with the configuration and setting. Thanks. Regards, Chad Timothy Official Site This is exactly like my setting: # sudo iptables -t nat -D PREROUTING \ # -s ! 127.0.0.1 -p tcp \ # --dport 3306 -j \ # REDIRECT --to-ports 4040 # on the business directory website currently under progress. I hope to find more tutorials about this. Thank you. Hello, I want to ask how to set an IPtables rule to redirect the traffic from 3306 to 4040.. I am too busy with the long and tiring loan modification process and don't have good resource too read about the programs between my client and MySQL server.. Thank you! I have these problems too since we don't use other than Linux much. I think this can be useful for evaluation process in the Linux dedicated server we are doing. Thanks a lot! We use public Proxy for our Fuji Xerox website. Since I myself is not really good in such things, we're just doing any extent we know. What is the difference with MySQL proxy? I would need to hire an expert in the filed soon since the site is going well-settled, lol.. I use one proxy for my three websites' connection and network: India Travel Tickets Booking which is a site to sellonline tickets, Domestic Flight Tickets Online which is specialized on local flights, and the India Tour Travel which is more common. There are sometimes problems with the configuration and recognizing. I hope to find a solution here. Thank you. MySql proxy server features are appreciated. The logs detail will be most important. Regards MOC Militare Ordine del Collare Militare Ordine del Collare buller tinnitus sokmotoroptimering After managing the MySQL Proxy, I use the SEO services both for fundamental and technical optimization. A friend helps me with the fundamental analysis, while I use sökmotoroptimering cheap SEO service for the rest. Really recommended! After managing the MySQL Proxy, I use the SEO services both for fundamental and technical optimization. A friend helps me with the fundamental analysis, while I use sökmotoroptimering cheap SEO service for the rest. Really recommended! After managing the MySQL Proxy, I use the SEO services both for fundamental and technical optimization. A friend helps me with the fundamental analysis, while I use sökmotoroptimering cheap SEO service for the rest. Really recommended! I never try to find information about the features offered by server. I wish they notice us about all the benefits and features in advance so that we know how to choose and why. Dallas preschool |Dallas daycare |Dallas child care Thank you for this. I notice that redirecting traffic can sometimes be complex. I hope they will be easier with this tool. SEO Services Yes, dangerous queries can be really annoying. It wastes time on the detecting and cleaning. I sometimes face the problem too on my Myanmar Web hosting website, but usually other team member works it out. Thank you. I need some help with my car insurance quotes website development. It already works fine, but some tiny problems can not be neglected. This is really informative. Henley, are excited to enter into consultations with them. “It’s really an ongoing process,” said Calder. “At the community level, we will probably be entering into discussions with different companies who are planning to do activities in the area. human services degree AND history degree AND get degree “We have already been talking to mining companies and Ontario Hydro, but this is a long, ongoing process,” he added. “We just view this as a way to get it kick-started.” earn degree AND Music degree Seems that this works quite well except for the situation where you have multiple mysql instances running on different local ips. You can' then use 127.0.0.1 for the proxy and must use the ip address of the instance. This changes the rules slightly as follows:
With this "style" you can more comfortable support multiple proxies running at the same time one each on the same interface address as the mysql server. |
VotesWatches2 members are watching this tool
You must be logged in to track this tool.
Provide Feedback
You must be logged in to comment
|
Enhancing server features just seem so feasible with this. But I don;t know how to customized the logs and then integrating the parts. My meeting rooms do not have the books for tutorial. Anyone can help me? Thank you.