BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

delphi 6 can't find libMySQL.dll

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Paul
Guest





PostPosted: Sun Sep 05, 2004 11:58 am    Post subject: delphi 6 can't find libMySQL.dll Reply with quote



I really can't get dbexpress to connect to anything. It seems though
that it might connect to MySQL but it cmplains that it can't find this
file. I did a search of my hardrive and found about 20 copies! all in
different locations of course. one is even in the system32 directory.
One in the Mysql directory where i run Local host using Apache. Where
can I put it so Delphi 6 will find it?
Thanks,
Paul

Back to top
Jan Doggen
Guest





PostPosted: Sun Sep 05, 2004 2:06 pm    Post subject: Re: delphi 6 can't find libMySQL.dll Reply with quote



System32 would be the most apprpriate place.

1) Is it registered?
regsvr32 libmysql

2) Is it in dbxdrivers.ini? (Borland Shareddbexpress)
Look in MySQL docs how to do this

Bye
Jan


"Paul" <paul-1 (AT) handleys (DOT) us> schreef in bericht
news:413aff50$1 (AT) newsgroups (DOT) borland.com...
Quote:
I really can't get dbexpress to connect to anything. It seems though
that it might connect to MySQL but it cmplains that it can't find this
file. I did a search of my hardrive and found about 20 copies! all in
different locations of course. one is even in the system32 directory.
One in the Mysql directory where i run Local host using Apache. Where
can I put it so Delphi 6 will find it?
Thanks,
Paul




Back to top
Cristian Nicola
Guest





PostPosted: Sun Sep 05, 2004 4:15 pm    Post subject: Re: delphi 6 can't find libMySQL.dll Reply with quote



libmysql.dll "implements" an API so doesnt need to be registered (eg the
registration would fail).

The dll has to be within the search path... either the same place as the
executable or one of the classic directories (System for example).

Regards,

Cristian Nicola
"Jan Doggen" <JanDoggenTHISISASPAMBLOCKER (AT) planet (DOT) nl> wrote

Quote:
System32 would be the most apprpriate place.

1) Is it registered?
regsvr32 libmysql



Back to top
Paul
Guest





PostPosted: Sun Sep 05, 2004 7:30 pm    Post subject: Re: delphi 6 can't find libMySQL.dll Reply with quote

Well I saw a similar problem earlier after I had posted, so I put my
libmysql.dll file in the same folder as my executable and it still says
that it can't load libMsql.dll. I don't normally use a password for
Mysql because I just use it to develop, but I went ahead and chose a
password using Phpmyadmin thinging that maybe Delphi insists on one but
it didn't help. Just for the heck of it I tried to register it as Jan
uggested. it did fail but I got this msg "libmysql.dll was loaded but
doesn't appear to be a dll or ocx file"
Thanks,
Paul

Cristian Nicola wrote:
Quote:
libmysql.dll "implements" an API so doesnt need to be registered (eg the
registration would fail).

The dll has to be within the search path... either the same place as the
executable or one of the classic directories (System for example).

Regards,

Cristian Nicola
"Jan Doggen" <JanDoggenTHISISASPAMBLOCKER (AT) planet (DOT) nl> wrote in message
news:413b1c81 (AT) newsgroups (DOT) borland.com...

System32 would be the most apprpriate place.

1) Is it registered?
regsvr32 libmysql





Back to top
Cristian Nicola
Guest





PostPosted: Sun Sep 05, 2004 7:55 pm    Post subject: Re: delphi 6 can't find libMySQL.dll Reply with quote

Maybe the library version is incompatible with the dbx driver.. in between
you could have a look at:

http://microolap.com/dbx/mysql/index.htm

Not only that it can automatically detect/handle different libmysql.dll
versions, but it can also use the embedded server version and it also has a
native implementation of the mysql wire protocol (no need for libmysql.dll).

Regards,
Cristian Nicola

"Paul" <paul-1 (AT) handleys (DOT) us> wrote

Quote:
Well I saw a similar problem earlier after I had posted, so I put my
libmysql.dll file in the same folder as my executable and it still says
that it can't load libMsql.dll. I don't normally use a password for Mysql
because I just use it to develop, but I went ahead and chose a password
using Phpmyadmin thinging that maybe Delphi insists on one but it didn't
help. Just for the heck of it I tried to register it as Jan uggested. it
did fail but I got this msg "libmysql.dll was loaded but doesn't appear to
be a dll or ocx file"
Thanks,
Paul



Back to top
paladin
Guest





PostPosted: Sun Sep 05, 2004 8:06 pm    Post subject: Re: delphi 6 can't find libMySQL.dll Reply with quote

Paul,

No one asked you about MySQL version so I will.
Delphi 6 will probably not recognize anything beyond
MySQL version 3.23.58.
The is a beta experimental driver for version 4.01 on
the Delphi codecentral pages.
Try an older version of MySQL, say 3.23.49 with your
out-of-the-box D6 and I think you'll find it just works.

-paladin



"Paul" <paul-1 (AT) handleys (DOT) us> wrote

Quote:
Well I saw a similar problem earlier after I had posted, so I put my
libmysql.dll file in the same folder as my executable and it still says
that it can't load libMsql.dll. I don't normally use a password for
Mysql because I just use it to develop, but I went ahead and chose a
password using Phpmyadmin thinging that maybe Delphi insists on one but
it didn't help. Just for the heck of it I tried to register it as Jan
uggested. it did fail but I got this msg "libmysql.dll was loaded but
doesn't appear to be a dll or ocx file"
Thanks,
Paul

Cristian Nicola wrote:
libmysql.dll "implements" an API so doesnt need to be registered (eg the
registration would fail).

The dll has to be within the search path... either the same place as the
executable or one of the classic directories (System for example).

Regards,

Cristian Nicola
"Jan Doggen" <JanDoggenTHISISASPAMBLOCKER (AT) planet (DOT) nl> wrote in message
news:413b1c81 (AT) newsgroups (DOT) borland.com...

System32 would be the most apprpriate place.

1) Is it registered?
regsvr32 libmysql







Back to top
Paul
Guest





PostPosted: Mon Sep 06, 2004 3:35 am    Post subject: Re: delphi 6 can't find libMySQL.dll Reply with quote

Okay, I installed the dbx4 but it doesn't work either. I'm using MySQL
3.23.47. I can't connect with any type of database with dbexpress. I
have managed to connect with ADO.
Paul
paladin wrote:
Quote:
Paul,

No one asked you about MySQL version so I will.
Delphi 6 will probably not recognize anything beyond
MySQL version 3.23.58.
The is a beta experimental driver for version 4.01 on
the Delphi codecentral pages.
Try an older version of MySQL, say 3.23.49 with your
out-of-the-box D6 and I think you'll find it just works.

-paladin



"Paul" <paul-1 (AT) handleys (DOT) us> wrote


Well I saw a similar problem earlier after I had posted, so I put my
libmysql.dll file in the same folder as my executable and it still says
that it can't load libMsql.dll. I don't normally use a password for
Mysql because I just use it to develop, but I went ahead and chose a
password using Phpmyadmin thinging that maybe Delphi insists on one but
it didn't help. Just for the heck of it I tried to register it as Jan
uggested. it did fail but I got this msg "libmysql.dll was loaded but
doesn't appear to be a dll or ocx file"
Thanks,
Paul

Cristian Nicola wrote:

libmysql.dll "implements" an API so doesnt need to be registered (eg the
registration would fail).

The dll has to be within the search path... either the same place as the
executable or one of the classic directories (System for example).

Regards,

Cristian Nicola
"Jan Doggen" <JanDoggenTHISISASPAMBLOCKER (AT) planet (DOT) nl> wrote in message
news:413b1c81 (AT) newsgroups (DOT) borland.com...


System32 would be the most apprpriate place.

1) Is it registered?
regsvr32 libmysql







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.