Search found 30 matches

by TobiasHo
Fri 12 Aug 2022 07:43
Forum: MySQL Data Access Components
Topic: Components thread safe?
Replies: 1
Views: 8505

Components thread safe?

Are the MyDAC components thread safe?
by TobiasHo
Thu 11 Aug 2022 10:04
Forum: MySQL Data Access Components
Topic: "lost connection to MySQL server during query" when closing a table
Replies: 4
Views: 9662

Re: "lost connection to MySQL server during query" when closing a table

"I can´t send you a small program to reproduce that error but what can go wrong to get this error?"
by TobiasHo
Sat 23 Jul 2022 14:04
Forum: MySQL Data Access Components
Topic: "lost connection to MySQL server during query" when closing a table
Replies: 4
Views: 9662

"lost connection to MySQL server during query" when closing a table

I open a table, when I use fetchall:=true - I can close it without any error.
When I set fetchall:=false I get a EMySQLException "Lost connection to mysql server during query".
I can´t send you a small program to reproduce that error but what can go wrong to get this error?
by TobiasHo
Wed 01 Jun 2022 06:05
Forum: MySQL Data Access Components
Topic: Lost connection to MySQL (over internet)
Replies: 5
Views: 14063

Re: Lost connection to MySQL (over internet)

No one has a solution for me?
by TobiasHo
Mon 23 May 2022 19:21
Forum: MySQL Data Access Components
Topic: Lost connection to MySQL (over internet)
Replies: 5
Views: 14063

Re: Lost connection to MySQL (over internet)

I just implemented the code as described. When the MySQL Connection is lost (due to network problems), the program tries to reconnect whicht works fine.
Unfortunately the program opens a windows informing the user that the connection was lost.
Is it possible to suppress this error message?
"Lost connectio to MySQL server during query"
by TobiasHo
Sat 13 Nov 2021 11:35
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

I declare the parameters like this:
Verbindung.Params.CreateParam(ftInteger, 'Lagernummer', ptOutput);
Why is the ptoutput type ignored?
Only the type of the last parameter ist set correctly...
by TobiasHo
Sat 13 Nov 2021 11:17
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

Now I use the dbMonitor and got this result which leads to the described error when I execute the batch insert.
when the error occurs the out value is missing
Image

this is how it looks like, when the update is successful
Image
by TobiasHo
Fri 12 Nov 2021 20:53
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

That is correct - but do you remember that I already found two bugs?
by TobiasHo
Wed 10 Nov 2021 07:14
Forum: MySQL Data Access Components
Topic: Bug in 10.4.1 with batch updates
Replies: 7
Views: 16841

Re: Bug in 10.4.1 with batch updates

The problem started, when you released the speed fix for the batch updates... Any help? I get this error every single day...
by TobiasHo
Tue 09 Nov 2021 16:32
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

This error started, when you "speed up" batch inserts. Could you provide an option to use the old (slower) version? Maybe one could use a parameter to switch between the two versions. I get the error every single day - this is very disappointing to me.
Often I get an error : commands out of sync.
by TobiasHo
Wed 22 Sep 2021 07:21
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

Sorry - the problem still exists - today I got the error again ...
by TobiasHo
Tue 21 Sep 2021 15:00
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

I am now using the latest update (11.0.1) the problem is gone. Magic?
by TobiasHo
Wed 21 Jul 2021 06:25
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

What should I say? I did not change a single line of my code, but after updating from 10.4.1 to 10.4.3 I have this problem...
Ok thanks for your help.
by TobiasHo
Fri 16 Jul 2021 09:38
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

The problems with the batch updates started when you "optimised" the code to speed up the uploads. Maybe you can have a look at this part of the code. It ssems like there are access violations in the array.
by TobiasHo
Thu 15 Jul 2021 08:08
Forum: MySQL Data Access Components
Topic: Problems with Batch Updates in 10.4.3
Replies: 18
Views: 82348

Re: Problems with Batch Updates in 10.4.3

Last time I reported bugs you could not reproduce the error either. And I was the only one who had this issue. But the problem is real... I can´t help you out whith a sample app.