Search found 9 matches

by wseifert
18.02.2015, 07:52
Forum: ZeosLib 7.1 stable Forum
Topic: ZEOS + MySQL + Stored Procedure = Need Advice How To
Replies: 5
Views: 2174

Re: ZEOS + MySQL + Stored Procedure = Need Advice How To

Michal, thanks for the link, but maybe I oversee something, I only found ZTestStoredProcedure.pas which is dealing with stored procedures but that is not what I am looking for; What I need is a simple cooking recipe how to use ZEOS to a) sumbit a stored procedure (function in my case) using ZEOS com...
by wseifert
17.02.2015, 19:30
Forum: ZeosLib 7.1 stable Forum
Topic: ZEOS + MySQL + Stored Procedure = Need Advice How To
Replies: 5
Views: 2174

Re: ZEOS + MySQL + Stored Procedure = Need Advice How To

Michal,

which test directory? I can't find a directory test in the ZEOSDBO-7.1.4-stable.zip ...

Werner
by wseifert
17.02.2015, 15:15
Forum: ZeosLib 7.1 stable Forum
Topic: ZEOS + MySQL + Stored Procedure = Need Advice How To
Replies: 5
Views: 2174

ZEOS + MySQL + Stored Procedure = Need Advice How To

I want to use stored procedures in my project but do not have any idea a) how to submit a function as stored procedure to MySQL DB using ZEOS components b) how to call this function from within my project using ZEOS components. I searched the web but did not find any documentation (some of the links...
by wseifert
14.12.2009, 20:01
Forum: 6.6 - stable
Topic: EAccessViolation in module libmysqld.dll
Replies: 4
Views: 673

I have solved the Issue >>EAccessViolation in module libmysqld.dll<<.

As I stated above I found a post on mysql forums in which the author suggests to put all mysql related stuff inside the thread procedure. I have done this and no Issue furthermore.

Werner
by wseifert
08.12.2009, 21:30
Forum: 6.6 - stable
Topic: EAccessViolation in module libmysqld.dll
Replies: 4
Views: 673

After some investigation I found some interesting facts at this issue: It looks like that this problem is a thread related prob. In my app the part of the prog where the issue happens is a thread importing data into the database. This works fine using libmysql.dll connecting to a MySQL Database Serv...
by wseifert
07.12.2009, 19:20
Forum: 6.6 - stable
Topic: EAccessViolation in module libmysqld.dll
Replies: 4
Views: 673

I think You should use TZQuery.Execute; instead TZQuery.Open; TZQuery.Execute can only be used together with create, insert, .. (SQL queries which modifies table(s), TZQuery.Open is to use together with select, ... In my case I cannot use Execute, I must use Open ... If I use a remote Database (lib...
by wseifert
06.12.2009, 16:17
Forum: 6.6 - stable
Topic: EAccessViolation in module libmysqld.dll
Replies: 4
Views: 673

EAccessViolation in module libmysqld.dll

Hi! Using libmysqld.dll from MySQL 5.1 in my project I get 'accessviolation at address 01991FB9 in module 'libmysqld.dll' writing from address 000000054'. This happens adding record to the database using ZDataSet.TZQuery.Open. Changing the libmysqld to MySQL 4.1 everything works fine as expected. I ...
by wseifert
07.09.2009, 18:45
Forum: 6.6 - stable
Topic: DBGrid - multiple Table read with TZConnection, TZQuery Prob
Replies: 1
Views: 835

DBGrid - multiple Table read with TZConnection, TZQuery Prob

I try to use a DBGrid Object to display data from a MySQL database with 3 tables containing normalized data. So I created a test app, put TZConnection with connection information to the MySQL database, TZQuery (connection = TZConnection, SQL property = select * from tracks, album, artists where trac...
by wseifert
01.11.2008, 08:12
Forum: 6.6 - stable
Topic: select last_insert_id() returns always 0
Replies: 1
Views: 2596

select last_insert_id() returns always 0

Hi, I am developing a app with Delphi 2007 using ZEOS 6.6.3 stable and MySQL 5. I use 7 tables to store data, on 6 of them using last_insert_id() to retrieve the auto_increment id of the last inserted row works as expected, but on one table it does not. I receive allways 0 (zero) as result using >se...