Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Reason why session does not connect
Reason why session does not connect [message #39248] Mon, 04 March 2013 19:10 Go to next message
Alboni is currently offline  Alboni
Messages: 203
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
In my program I would to know why mysqlsession::Connect fails:

for example:
host not found
client ip not allowed
wrong credentials
etc.

How can I get that info?
Re: Reason why session does not connect [message #39923 is a reply to message #39248] Sat, 11 May 2013 11:32 Go to previous message
mirek is currently offline  mirek
Messages: 13045
Registered: November 2005
Ultimate Member
Alboni wrote on Mon, 04 March 2013 13:10

In my program I would to know why mysqlsession::Connect fails:

for example:
host not found
client ip not allowed
wrong credentials
etc.

How can I get that info?


Sometimes you can get from Session::GetLastError. Depends on DB.

Mirek
Previous Topic: [BUG?]Like() always case sensitive on MySql
Next Topic: [BUG] Memory leak in MySql package
Goto Forum:
  


Current Time: Fri Jan 22 04:58:47 CET 2021

Total time taken to generate the page: 0.01731 seconds