U++ framework
Do not panic. Ask here before giving up.

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: 216
Registered: January 2012
Location: Kajaani, Finland
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: 14291
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: Sun May 24 16:35:25 GMT+2 2026

Total time taken to generate the page: 0.00553 seconds