MySQL Forums
Forum List  »  Router & Proxy

Re: proxy.COM_QUERY Load data infile
Posted by: Diego Medina
Date: September 16, 2007 10:14PM

Hi Jan,

Sorry I did not realized that you are the one who actually wrote MySQL-Proxy.

After some more hours of trying I found that I was able to see the "Data" being sent to the server because in my case, the first char of the file was a quote (hence string.byte(packet) gave me 34)

Do you have any plans about being able to intercept "LOAD DATA INFILE" statements?

In my case, what I was after was being able to "replace" a specific character that apperas on my file for a "new line" charcater (\n)

I guess I'll have to do it outside mysql for now.

Thanks and great application!

Diego Medina
Web Developer
http://www.fmpwizard.com

P.S. Please read this post if you are going to post code

Options: ReplyQuote


Subject
Views
Written By
Posted
5174
September 14, 2007 10:13PM
2746
September 15, 2007 02:58AM
4078
September 15, 2007 09:38AM
2541
September 17, 2007 01:05AM
Re: proxy.COM_QUERY Load data infile
2604
September 16, 2007 10:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.