🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Why occur the DBX Error:Invalid Username/Password

#131
From: Max
Date: Tue, 08 Feb 2005 20:54
21 lines
1720 bytes
zhaowei schreef:
> I used dbexpress to access MySQL4.0.20 and excute more "insert" operations,
> my code like this:
> 
>  for(int i=0; i<2000; i++)  {
>     strsql = "insert into
> bassecu(secuid,secuds,py)values('"+String(rc.SecuID)+"','"
>       +String(rc.SecuDesc)+"','"+py.MakeSpellCode(rc.SecuDesc,2)+"')";
>     sqlret = TRjlFunc::ExecSQL(FDm->qryExec,strsql);
>  }
> 
> The application always occues the DBX error:"Invalid Usename/Password",but
> sometime it's ok!
> why?
> 
> 
dbexpress doesn't support MySQL 4. You need to use MySQL 3.23 or a third 
party product to access MySQL 4.*

Regards,
Max
Technical Details
Message-ID: <42092729@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ef2424@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,9a296ff3a494ae2c
X-Google-Attributes: gidfb4e2,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 08 Feb 2005 21:54:42 +0100
From: Max <nomail@4me.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: nl-NL, nl, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.dbexpress
Subject: Re: Why occur the DBX Error:Invalid Username/Password
References: <41ef2424@newsgroups.borland.com>
In-Reply-To: <41ef2424@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 82.161.81.49
Message-ID: <42092729@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107896105 82.161.81.49 (8 Feb 2005 12:55:05 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail