Mega Search
23.2 Million


Sign Up

Make a donation  
MYSQL in dbexpress error.  
News Group: embarcadero.public.delphi.database.dbexpress

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

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 27-Sep-2014, at 11:20 AM EST
From: Stev Warby
 
Re: MYSQL in dbexpress error.  
News Group: embarcadero.public.delphi.database.dbexpress
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

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 29-Sep-2014, at 3:31 PM EST
From: quinn wildman
 
Re: MYSQL in dbexpress error.  
News Group: embarcadero.public.delphi.database.dbexpress
> {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

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 29-Sep-2014, at 1:44 PM EST
From: Stev Warby
 
Re: MYSQL in dbexpress error.  
News Group: embarcadero.public.delphi.database.dbexpress
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
>

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 29-Sep-2014, at 9:37 AM EST
From: quinn wildman
 
Re: MYSQL in dbexpress error.  
News Group: embarcadero.public.delphi.database.dbexpress
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.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 29-Sep-2014, at 9:34 AM EST
From: quinn wildman