🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.dbexpress
3 messages
3 total messages Started by kw Fri, 08 Sep 2006 10:37
dbExpress: version problems? Invalid Field Type
#28
Author: kw
Date: Fri, 08 Sep 2006 10:37
26 lines
2165 bytes
Hi,

I downloaded Turbo C++ Explorer and tried to port my app (originally working 
under BCB6) to TC++Explorer. Firstly, the TSQLConnection in TC++E is 
working, connecting to my MySQL database without complaints. Then I dropped 
a TSQLDataSet and set the CommandType to ctTable. When I clicked on the 
CommandText property to select a table, nothing happened. There is no list 
of Tables for me to select as it's supposed to have. So I changed the 
command type to ctQuery and clicked the CommandText, I was show a dialog 
where the name of my database is shown correctly in the Schema Name, but 
there is not list of Tables or Fields, they are empty! I ignored the problem 
and go ahead typed in "SELECT * FROM classlist" in the SQL box and try to 
ativate it. All I get is "dbExpress Error:[0x0003]: Invalid Field Type". 
What gives?

I tried with all other dbExpress components, the results are the same. 
However, my original app, which is done in BCB6 works without any fuss. Why 
is the supposedly newer (or even if they never fixed or update the 
components since BCB6 - they are supposed to behave in the same way) 
dbExpress in TC++E act worse than those already 4 or 5 years old ones in 
BCB6?

MySQL server version 4.0.20 (Appserv 5.2.1)

-- 
I Feel Good! 
Re: dbExpress: version problems? Invalid Field Type
#29
Author: Herwig Huber
Date: Sat, 16 Sep 2006 09:21
16 lines
1480 bytes
> ativate it. All I get is "dbExpress Error:[0x0003]: Invalid Field Type".

I had exactly the same problem when I switched from BCB6 to BDS2006.

As far as I remember it had something to do with different versions of 
libmysql.dll. Probably you have installed (once) a newer version of mysql 
and TC++ tries to use that version of libmysql.dll.

Do a search on your computer for all versions of libmysql.dll to be sure 
that TC++ gets the right one.

I am using mysql 4.0.24 and everything works fine.

Yours,

Herwig
Re: dbExpress: version problems? Invalid Field Type
#32
Author: kw
Date: Wed, 01 Nov 2006 07:36
31 lines
2245 bytes
"Herwig Huber" <info@bitart.at> ׫����]����„:450bc137@newsgroups.borland.com...
>> ativate it. All I get is "dbExpress Error:[0x0003]: Invalid Field Type".
>
> I had exactly the same problem when I switched from BCB6 to BDS2006.
>
> As far as I remember it had something to do with different versions of 
> libmysql.dll. Probably you have installed (once) a newer version of mysql 
> and TC++ tries to use that version of libmysql.dll.
>
> Do a search on your computer for all versions of libmysql.dll to be sure 
> that TC++ gets the right one.
>
> I am using mysql 4.0.24 and everything works fine.
>
> Yours,
>
> Herwig
>

Thanks for the reply, I replaced the libmysql.dll in \Windows\System32\ 
(file size 228kb) with the one I found in my MySQL\bin directory (size 
244kb). I'm am now able to access the database, but now I have another 
problem - I know it's not related to this newsgroup, but I'll just try to 
get any advice I could - Now my PHPMyAdmin won't start. It says problem 
about the MySQL extention or something like that. Is the way I handle the 
replacement of the file (copy and past in to System32)correct? Is there any 
other way that will not cause problem to PHPMyAdmin?

Regards,
KW 
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