I have delphixe 7 trial.
I am trying to get a connection to MYSQL and get an error stating that it is not installed correctly.
I have dowloaded both the libmysql.dll (ver 5.6.21) 32 & 64 bit files.
I have tried varoius places and combinations.
I am windows 7 64 which file do I use and where do I place it.
This seems a very basic problem that is not documented ????
Cheers
Mr Warby
The DLL needs to be in your path. Most commonly, that would mean the
c:\windows\syswow64. You should use the client install program from
mysql to install their client. I would assume it would do all the
required pathing correctly for you.
To see what versions of MySQL are supported see:
http://docwiki.embarcadero.com/RADStudio/XE7/en/Release_Notes_for_XE3#Supported_Servers
Stev Warby wrote:
> However the link tells me what I need to do but not how to do.
>
> i.e. Which version / 32 bit or 64 bit and where to place the dll.
>
> Cheers
> {quote:title=quinn wildman wrote:}{quote}
> Oh, one other note here. FireDAC is the preferred data access layer over
> DBExpress. So, if you working on a new project, we recommend you use
> FireDAC instead of DBExpress. However, your issue is likely the same
> with FireDAC or DBExpress.
>
> Stev Warby wrote:
> > I have delphixe 7 trial.
> >
> > I am trying to get a connection to MYSQL and get an error stating that it is not installed correctly.
> >
> > I have dowloaded both the libmysql.dll (ver 5.6.21) 32 & 64 bit files.
> >
> > I have tried varoius places and combinations.
> >
> > I am windows 7 64 which file do I use and where do I place it.
> >
> > This seems a very basic problem that is not documented ????
> >
> > Cheers
> >
> > Mr Warby
> >
Yes that was the error.
However the link tells me what I need to do but not how to do.
i.e. Which version / 32 bit or 64 bit and where to place the dll.
Cheers
Mr Warby
Oh, one other note here. FireDAC is the preferred data access layer over
DBExpress. So, if you working on a new project, we recommend you use
FireDAC instead of DBExpress. However, your issue is likely the same
with FireDAC or DBExpress.
Stev Warby wrote:
> I have delphixe 7 trial.
>
> I am trying to get a connection to MYSQL and get an error stating that it is not installed correctly.
>
> I have dowloaded both the libmysql.dll (ver 5.6.21) 32 & 64 bit files.
>
> I have tried varoius places and combinations.
>
> I am windows 7 64 which file do I use and where do I place it.
>
> This seems a very basic problem that is not documented ????
>
> Cheers
>
> Mr Warby
>
Stev Warby wrote:
> I am trying to get a connection to MYSQL and get an error stating that it is not installed correctly.
What is the exact error? Is by chance "DBX error:Driver could not be
properly initialized"? If so, see:
http://support.embarcadero.com/article/41796 If not, tell us what the
error you are getting.