Lost connection to MySQL server

Lost connection to MySQL server

Postby vilian » Mon Jan 29, 2024 5:06 pm

Hi Guys,

After update my FWH to the newest version, i'm having this message error bellow:

Code: Select all  Expand view
Lost Connection  to MySql server at reading initial communcation packet, system error:2
Please check teh connection and try again.


IF I jusk click in the button "ok" of the dialog, the program starts and everything works ok. IF i return to my previous version, everything is ok, nothing is shown.

Do you know why is it happening ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 972
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Lost connection to MySQL server

Postby nageswaragunupudi » Tue Jan 30, 2024 3:20 am

Please build and run
fwh\samples\maria01.prg
and let us know if you experience any problem.
Are you using FWH2310?
Harbour or xHarbour?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Lost connection to MySQL server

Postby vilian » Tue Jan 30, 2024 11:35 am

Good Morning,

Are you using FWH2310?
Yes
Harbour or xHarbour?
Harbour.

Please build and run
fwh\samples\maria01.prg
With this sample everything is ok.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 972
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Lost connection to MySQL server

Postby nageswaragunupudi » Tue Jan 30, 2024 1:40 pm

Please build and run
fwh\samples\maria01.prg
With this sample everything is ok.

Then, how can you help me to reproduce your error here?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Lost connection to MySQL server

Postby vilian » Tue Jan 30, 2024 4:45 pm

I'm trying to do a little example...
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 972
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Lost connection to MySQL server

Postby nageswaragunupudi » Tue Jan 30, 2024 5:11 pm

Thanks.
Offtopic:
1) Meanwhile, can u run this small test and let me know the result?
Code: Select all  Expand view
#include "fivewin.ch"

function Main()

   ? GetACP()

return nil

#pragma BEGINDUMP

#include "windows.h"
#include "hbapi.h"

HB_FUNC( GETACP )
{ hb_retni( GetACP() ); }

#pragma ENDDUMP

Can you build and run this program and can you let us know the result?

2) What codepage do you set for your programs ?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Lost connection to MySQL server

Postby vilian » Tue Jan 30, 2024 5:16 pm

Your program only showed the number 1252

I'm using codepage PT850
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 972
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Lost connection to MySQL server

Postby nageswaragunupudi » Tue Jan 30, 2024 5:29 pm

Thank you.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests