Re: [Sqlrelay-discussion] Lazy connection in php?
Brought to you by:
mused
From: David M. <dav...@fi...> - 2013-09-18 18:41:37
|
Hi Andy, You are correct, the SQL Relay API's do lazy connections. Unfortunately there is no way to work around that at this point. If it's a feature that's important to you then I could implement it on a contract basis. See Consulting Services at http://sqlrelay.sourceforge.net/support.html for info about that. Otherwise I'll put it on the TODO list. I hope SQL Relay is otherwise working out well for you. Take care, David Muse dav...@fi... On 9/18/2013 5:09 AM, Andy Malahovsky wrote: > HI! > > I've noticed that > if I try to connect via php by sqlrcon_alloc to fake ip address or to > anywhere where even sqlrelay is not installed or to sqlrelay with wrong > connection string to db - i.e. to anywhere it will get error to connect. > The sqlrcon_alloc return resource. > > > $connect = > sqlrcon_alloc(''257.1.0.1",$port,"",$username,$passwd,$retryTime,$tries); > // above resource > $error=sqlrcon_errorMessage($this->connect); > // error is empty > > and the error appear after first sql-request. > > So it seems like there is lazy connection. > > Is it possible to avoid that? > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > > _______________________________________________________ > Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting > http://www.doteasy.com > > > > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > _______________________________________________________ > Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting > http://www.doteasy.com > |