Page 1 of 1

FWMARIA MENSAJES DE ERROR

PostPosted: Sun Apr 21, 2024 10:41 am
by PAUL SIMM
Habra forma de editar el contenido del Mensaje de error "Unknowen Mysql Server Host www.xxxxx.com" para eliminar el nombre en este aviso del host (www.xxx.com) para evitar posibles intentos de hackeo.

Re: FWMARIA MENSAJES DE ERROR

PostPosted: Mon Apr 22, 2024 6:02 am
by Antonio Linares
Estimado Paul,

Puedes mostrar una imagen de como se ve el error ?

Buscando en los fuentes de FWH no encuentro el mensaje de error que comentas

gracias!

Re: FWMARIA MENSAJES DE ERROR

PostPosted: Mon Apr 22, 2024 8:44 am
by PAUL SIMM

Re: FWMARIA MENSAJES DE ERROR

PostPosted: Tue Apr 23, 2024 9:09 am
by nageswaragunupudi
You see this error when trying to connect using
Code: Select all  Expand view
oCn := maria_Connect( <connectionspe>,  .T. )

Last parameter .T. means ShowError. In that case the library shows the error as MySql shows.

You can suppress display of error by
Code: Select all  Expand view
oCn := maria_Connect9( <connectionspecs>,  .F. )
if oCn == nil
   ? "connection failed"
   // display your own error
   return nil
endif
// proceed with the work
 

Re: FWMARIA MENSAJES DE ERROR

PostPosted: Tue Apr 23, 2024 1:44 pm
by PAUL SIMM
Thankyou my friend works perfectly

Regardos

Paul