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 2005 connection to MySQL, dbexpress driver error

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





PostPosted: Thu Dec 16, 2004 11:41 am    Post subject: Delphi 2005 connection to MySQL, dbexpress driver error Reply with quote



Hi to all,
I am trying delphi 2005 arch on a win 2003 server machine and i would like
to connect a MySQL db via dbexpress, but i can't (win32 personality).
MySQL version is 4.1.7; if i use the ODBC connection (via ODBC 3.51.10
drivers) all works fine.
When i try the connection via dbexpress first i set the TSQLConnection
parameters and then i activate it (all works fine).
After that i connect a TSQLQuery to the TSQLConnection, i set the sql
statement and then, when i activate TSQLQuery, i get an access violation
error on the dbexpress driver dbexpmysql.dll.
If i try to use a Simpedataset or a SQLDataset component i get the dbexpress
error "command out of sync".
Can someone help me?
Thanks in advance, Antonio.
--
------------------------------------------------------------------------
Antonio Taccone | Siamo scienziati, non ingegneri!
Quote:
A. A. Bertossi 1990, Durante una lezione.
[email]ag.taccon (AT) virgilio (DOT) it[/email] | Università di Pisa - Dipartimento di Informatica

------------------------------------------------------------------------
Certo,certo.Ma ti prego,non mi ammazzare l'ingnegnere.Mi serve.Va bene?
Maledetti tecnici. Sempre vezzeggiati. cit. Warrior apprentice.




Back to top
John Powell (Borland)
Guest





PostPosted: Thu Dec 16, 2004 6:11 pm    Post subject: Re: Delphi 2005 connection to MySQL, dbexpress driver error Reply with quote



MySQL 4.1.X is not supported. Use MySQL 4.0.X. Future releases will support
the latest versions of MySQL.

../john

"Zott !!!" <ag.taccon (AT) virgilio (DOT) it.levalo> wrote

Quote:
Hi to all,
I am trying delphi 2005 arch on a win 2003 server machine and i would like
to connect a MySQL db via dbexpress, but i can't (win32 personality).
MySQL version is 4.1.7; if i use the ODBC connection (via ODBC 3.51.10
drivers) all works fine.
When i try the connection via dbexpress first i set the TSQLConnection
parameters and then i activate it (all works fine).
After that i connect a TSQLQuery to the TSQLConnection, i set the sql
statement and then, when i activate TSQLQuery, i get an access violation
error on the dbexpress driver dbexpmysql.dll.
If i try to use a Simpedataset or a SQLDataset component i get the
dbexpress error "command out of sync".
Can someone help me?
Thanks in advance, Antonio.
--
------------------------------------------------------------------------
Antonio Taccone | Siamo scienziati, non ingegneri!
| A. A. Bertossi 1990, Durante una lezione.
[email]ag.taccon (AT) virgilio (DOT) it[/email] | Università di Pisa - Dipartimento di Informatica
------------------------------------------------------------------------
Certo,certo.Ma ti prego,non mi ammazzare l'ingnegnere.Mi serve.Va bene?
Maledetti tecnici. Sempre vezzeggiati. cit. Warrior apprentice.






Back to top
Zott !!!
Guest





PostPosted: Thu Dec 16, 2004 6:44 pm    Post subject: Re: Delphi 2005 connection to MySQL, dbexpress driver error Reply with quote



"John Powell (Borland)" <john.powell (AT) nomail (DOT) com> ha scritto nel messaggio
news:41c1cfe3$1 (AT) newsgroups (DOT) borland.com...
Quote:
MySQL 4.1.X is not supported. Use MySQL 4.0.X. Future releases will
support the latest versions of MySQL.

./john

Thank You John,
reading other 3ad i found this information; then i have created a new
virtual machine under virtualpc2004 and i have installed 4.0.22 version; but
i get the same error.
All works fine with MicroOLAP driver instead.
--
------------------------------------------------------------------------
Antonio Taccone | Siamo scienziati, non ingegneri!
Quote:
A. A. Bertossi 1990, Durante una lezione.
[email]ag.taccon (AT) virgilio (DOT) it[/email] | Università di Pisa - Dipartimento di Informatica

------------------------------------------------------------------------
Certo,certo.Ma ti prego,non mi ammazzare l'ingnegnere.Mi serve.Va bene?
Maledetti tecnici. Sempre vezzeggiati. cit. Warrior apprentice.



Back to top
John Powell (Borland)
Guest





PostPosted: Thu Dec 16, 2004 9:53 pm    Post subject: Re: Delphi 2005 connection to MySQL, dbexpress driver error Reply with quote

Please post table schema information as well as the sql query you are
attempting to execute.

Thanks.

"Zott !!!" <ag.taccon (AT) virgilio (DOT) it.levalo> wrote

Quote:
"John Powell (Borland)" <john.powell (AT) nomail (DOT) com> ha scritto nel messaggio
news:41c1cfe3$1 (AT) newsgroups (DOT) borland.com...
MySQL 4.1.X is not supported. Use MySQL 4.0.X. Future releases will
support the latest versions of MySQL.

./john

Thank You John,
reading other 3ad i found this information; then i have created a new
virtual machine under virtualpc2004 and i have installed 4.0.22 version;
but i get the same error.
All works fine with MicroOLAP driver instead.
--
------------------------------------------------------------------------
Antonio Taccone | Siamo scienziati, non ingegneri!
| A. A. Bertossi 1990, Durante una lezione.
[email]ag.taccon (AT) virgilio (DOT) it[/email] | Università di Pisa - Dipartimento di Informatica
------------------------------------------------------------------------
Certo,certo.Ma ti prego,non mi ammazzare l'ingnegnere.Mi serve.Va bene?
Maledetti tecnici. Sempre vezzeggiati. cit. Warrior apprentice.




Back to top
J West
Guest





PostPosted: Mon Dec 20, 2004 7:20 am    Post subject: Re: Delphi 2005 connection to MySQL, dbexpress driver error Reply with quote

Why not use ADO?

Regards
James West

"Zott !!!" <ag.taccon (AT) virgilio (DOT) it.levalo> wrote

Quote:
Hi to all,
I am trying delphi 2005 arch on a win 2003 server machine and i would like
to connect a MySQL db via dbexpress, but i can't (win32 personality).
MySQL version is 4.1.7; if i use the ODBC connection (via ODBC 3.51.10
drivers) all works fine.
When i try the connection via dbexpress first i set the TSQLConnection
parameters and then i activate it (all works fine).
After that i connect a TSQLQuery to the TSQLConnection, i set the sql
statement and then, when i activate TSQLQuery, i get an access violation
error on the dbexpress driver dbexpmysql.dll.
If i try to use a Simpedataset or a SQLDataset component i get the
dbexpress error "command out of sync".
Can someone help me?
Thanks in advance, Antonio.
--
------------------------------------------------------------------------
Antonio Taccone | Siamo scienziati, non ingegneri!
| A. A. Bertossi 1990, Durante una lezione.
[email]ag.taccon (AT) virgilio (DOT) it[/email] | Università di Pisa - Dipartimento di Informatica
------------------------------------------------------------------------
Certo,certo.Ma ti prego,non mi ammazzare l'ingnegnere.Mi serve.Va bene?
Maledetti tecnici. Sempre vezzeggiati. cit. Warrior apprentice.






Back to top
Zott !!!
Guest





PostPosted: Thu Dec 23, 2004 9:35 am    Post subject: Re: Delphi 2005 connection to MySQL, dbexpress driver error Reply with quote

"John Powell (Borland)" <john.powell (AT) nomail (DOT) com> ha scritto nel messaggio
news:41c203c0$1 (AT) newsgroups (DOT) borland.com...
Quote:
Please post table schema information as well as the sql query you are
attempting to execute.

Sorry for delay Smile
I have tried also version 4.0.18 but the problems remain the same.
I will soon post the schema.
I'm now working with my new delphi2005 pro version and for this reason i
buyed a separate mysql dbexpress driver.
Thx again and merry Christmas, Antonio.
--
------------------------------------------------------------------------
Antonio Taccone | Siamo scienziati, non ingegneri!
Quote:
A. A. Bertossi 1990, Durante una lezione.
[email]ag.taccon (AT) virgilio (DOT) it[/email] | Università di Pisa - Dipartimento di Informatica

------------------------------------------------------------------------
Certo,certo.Ma ti prego,non mi ammazzare l'ingnegnere.Mi serve.Va bene?
Maledetti tecnici. Sempre vezzeggiati. cit. Warrior apprentice.



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.