🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.dbexpress
Article #89

Re: CBuilder 6 using DBExpress to connect to Mysql

#89
From: Aaron
Date: Thu, 12 Aug 2004 21:01
61 lines
2693 bytes
i am using the mysql 3.23 driver.  it wont work with v4
so I use the v3 driver and get rid of the cant find dll error.  but now I
cant connect because of the password error.
the problem is that I dont even know if i am looking in the right spot or
what because it is confusing
that I should need a password for a db that doesnt have a password.(test
db).  even username = root doenst work.

you would think that someone out there has made this work.  there is no
documentation or examples from borland or on the mysql site.  and I googled
the same problem and there are other people with the same problem but nobody
has yet to provide a solution.



"Lotfi" <llbaghli(nospam)@ifrance.com> wrote in message
news:411bd06b@newsgroups.borland.com...
>
> Hi
>
> I am trying to set the same things (mySQL+dbexpress)
>
> the username and more info must be provided in a (TString struc ion the
> Params property of your SQLConnexion
>
> someting like
>
> DriverName=MYSQL
> BlobSize=-1
> Database=\test
> ErrorResourceFile=
> HostName=c:\Apache2\mysql\data\mysql
> LocaleCode=0000
> Password=
> User_Name=root
>
> (or :)
> DriverName=MYSQL
> BlobSize=-1
> Database=test
> ErrorResourceFile=
> HostName=localhost
> LocaleCode=0000
> Password=
> User_Name=root
>
> but I didn't succeeded in connecting (see my post just befor yours)
> in fact, in my case it didn't load the libmysql.dll
>
> what version of MySQL do you use ?
> somebody said on a forum that it works for mySQL 3.xx but not with 4 ???
> I need confirmation or infirmation, and what can we do to make it work
with
> MySQL 4 ?
>
> if u got something new, please let me know
>
> Ciao
>
>
>
Technical Details
Message-ID: <411bdabd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!news2.euro.net!fr.ip.ndsoftware.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <411bb6d2@newsgroups.borland.com> <411bd06b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,84c3ce95504f366f
X-Google-Attributes: gidfb4e2,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Aaron" <mryamz@comcast.net>
From: "Aaron" <mryamz@comcast.net>
Newsgroups: borland.public.cppbuilder.database.dbexpress
References: <411bb6d2@newsgroups.borland.com> <411bd06b@newsgroups.borland.com>
Subject: Re: CBuilder 6 using DBExpress to connect to Mysql
Date: Thu, 12 Aug 2004 17:01:55 -0400
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 141.151.143.121
Message-ID: <411bdabd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1092344509 141.151.143.121 (12 Aug 2004 14:01:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!news2.euro.net!fr.ip.ndsoftware.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail