🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Why occur the DBX Error:Invalid Username/Password

#128
From: zhaowei
Date: Thu, 20 Jan 2005 03:23
13 lines
1328 bytes
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?
Technical Details
Message-ID: <41ef2424@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,9a296ff3a494ae2c,start
X-Google-Attributes: gidfb4e2,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "zhaowei" <zhaowd@citiz.net>
Newsgroups: borland.public.cppbuilder.database.dbexpress
Subject: Why occur the DBX Error:Invalid Username/Password
Date: Thu, 20 Jan 2005 11:23:16 +0800
Lines: 15
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: 218.79.104.196
Message-ID: <41ef2424@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106191396 218.79.104.196 (19 Jan 2005 19:23:16 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail