How to connect FiveWin with Mysql

Re: How to connect FiveWin with Mysql

Postby dutch » Mon Feb 23, 2009 6:59 pm

Dear Antonio,

I have change to MySql 3.51 and set as your mention but it's still not working (same error)
Antonio Linares wrote:Dutch,

Please try it with these connections values:

server=SQL06.FREEMYSQL.NET;database=fwppc;uid=fivetech;pwd=fivewin

the older one seems to be no longer available


Regards,
Dutch
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: How to connect FiveWin with Mysql

Postby StefanHaupt » Tue Feb 24, 2009 8:34 am

Hi,

I´m using these functions to connect to a MySql server 5.1. I don´t use AdoRdd at the moment, but maybe these functions are helpful.

Code: Select all  Expand view  RUN
//------------------------------------------------------------//
FUNCTION Connect (cHost, cUser, cPass, oStatus)

  oServer := TMySQLServer():New(cHost, cUser, cPass)
  if oServer:NetErr()
     MsgAlert (oServer:Error(),"MySQL Error")
     quit
   else
     lConnected := .t.
     oStatus:SetText ("angemeldet als: " + cUser + " an: " + cHost)
  endif

RETURN (nil)

//------------------------------------------------------------//
FUNCTION DisConnect (oStatus)

  IF oServer <> nil
    oServer:End ()
    oStatus:SetText ("abgemeldet")
    oServer := nil
  ENDIF

RETURN (nil)


Be aware, that all parameters are case-sensitive !
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 61 guests