|
In playing with it in the past, I have found that
it works slightly differently on a development machine than on a client machine.
But check the following.
1. Database driver dll is in project
directory
2. Midas.dll is in the client directory... (not
entirely sure if required, best practice or licensing issues...).
3. dbxconnection.ini and dbxdriver.ini file in the
project directory also.
You will find that if running on your dev machine
that it will load the connection and driver files from the borland common
files/dbexpress directory from memory... so thats a bit of a
gotcha.
Matt.
----- Original Message -----
Sent: Friday, December 17, 2004 4:04
PM
Subject: Re: [DUG] remote MySQL via
dbExpress
Have you tried putting the database driver dll in
your project directory ?
Regards,
Matt.
----- Original Message -----
Sent: Friday, December 17, 2004 10:18
AM
Subject: [DUG] remote MySQL via
dbExpress
Hi all, due to mail server difficulties I have
not received any responses (or even my earlier post) about connecting to
MySQL (if there were any). But I've had a go at configuring a connection to
MySQL. When ever I try to establish the connection I get an eDatabaseError
"Unable to Load libmySQL.dll". I do have MySQL loaded locally on my
machine.
I've configured the bdExpress control as
follows:
object SQLConnection1:
TSQLConnection ConnectionName =
'MSConnection' DriverName =
'MYSQL' GetDriverFunc =
'getSQLDriverMYSQL' LibraryName =
'dbexpmys.dll' Params.Strings =
(
'BlobSize=-1'
'Database=myDBname'
'DriverName=MYSQL'
'ErrorResourceFile='
'HostName=mtsl.co.nz'
'LocaleCode=0000'
'Password=mypassword'
'User_Name=myusername') VendorLib =
'libmySQL.dll' Left = 144 Top =
40 end
Any tips anyone?
Cheers,
Phil.
_______________________________________________ Delphi mailing
list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing
list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
|
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi