🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.dbexpress
2 messages
2 total messages Started by zhaowei Thu, 20 Jan 2005 03:23
Why occur the DBX Error:Invalid Username/Password
#128
Author: 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?
Re: Why occur the DBX Error:Invalid Username/Password
#131
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads