Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: MYSQL in dbexpress error.



Permlink Replies: 4 - Last Post: Sep 29, 2014 3:31 PM Last Post By: quinn wildman Threads: [ Previous | Next ]
Stev Warby

Posts: 50
Registered: 10/19/14
MYSQL in dbexpress error.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 27, 2014 11:20 AM
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
quinn wildman

Posts: 856
Registered: 12/2/99
Re: MYSQL in dbexpress error.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 29, 2014 9:34 AM   in response to: Stev Warby in response to: Stev 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.
quinn wildman

Posts: 856
Registered: 12/2/99
Re: MYSQL in dbexpress error.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 29, 2014 9:37 AM   in response to: Stev Warby in response to: Stev 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

Posts: 50
Registered: 10/19/14
Re: MYSQL in dbexpress error.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 29, 2014 1:44 PM   in response to: quinn wildman in response to: quinn wildman
quinn wildman wrote:
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
quinn wildman

Posts: 856
Registered: 12/2/99
Re: MYSQL in dbexpress error.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 29, 2014 3:31 PM   in response to: Stev Warby in response to: Stev 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
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02