Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-21 Thread LacaK via fpc-pascal




https://github.com/fpc/FPCSource/tree/main/packages/mysql

I do not understand. I see a source file for mysql80dyn.pp, but
shouldn't tthere also be a mysql80conn.pp?
It is in 
https://github.com/fpc/FPCSource/tree/main/packages/fcl-db/src/sqldb/mysql

L.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-20 Thread Terry A. Haimann via fpc-pascal
https://github.com/fpc/FPCSource/tree/main/packages/mysql

I do not understand. I see a source file for mysql80dyn.pp, but
shouldn't tthere also be a mysql80conn.pp?

Terry H.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-20 Thread Ralf Quint via fpc-pascal

On 9/20/2021 12:39 AM, antlists via fpc-pascal wrote:

On 20/09/2021 00:12, Ralf Quint via fpc-pascal wrote:

On 9/18/2021 7:33 AM, Terry A. Haimann via fpc-pascal wrote:

I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0.  I do see that there is an open ticket to create a connector.  Is
there an Alpha or Beta version of the connector available that I can
try?

Thank you for your attention,


To me, this question doesn't make any sense...

Either you have MariaDB or you have MySQL. "MariaDB is using MySQL 
8.0" seems utter nonsense.


What he probably meant is "MariaDB is using the MySQL 8.0 connector" 
which DOES make sense. 


Well, then it helps if he would write exactly that.

In general, in programming you need to write exactly what you intend to 
do, neither readers nor compilers/libraries can make wild guesses as to 
what your intentions might be otherwise...


Ralf



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-20 Thread antlists via fpc-pascal

On 20/09/2021 00:12, Ralf Quint via fpc-pascal wrote:

On 9/18/2021 7:33 AM, Terry A. Haimann via fpc-pascal wrote:

I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0.  I do see that there is an open ticket to create a connector.  Is
there an Alpha or Beta version of the connector available that I can
try?

Thank you for your attention,


To me, this question doesn't make any sense...

Either you have MariaDB or you have MySQL. "MariaDB is using MySQL 8.0" 
seems utter nonsense.


What he probably meant is "MariaDB is using the MySQL 8.0 connector" 
which DOES make sense.


There's the same issue with LibreOffice which did (maybe still does) use 
the MySQL connector to talk to MariaDB.


Cheers,
Wol
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Ralf Quint via fpc-pascal

On 9/18/2021 7:33 AM, Terry A. Haimann via fpc-pascal wrote:

I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0.  I do see that there is an open ticket to create a connector.  Is
there an Alpha or Beta version of the connector available that I can
try?

Thank you for your attention,


To me, this question doesn't make any sense...

Either you have MariaDB or you have MySQL. "MariaDB is using MySQL 8.0" 
seems utter nonsense.


Beside that MySQL 8 is around for 3 1/2 years now (April 2018)...

Ralf


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Terry A. Haimann via fpc-pascal
I hate to sound stupid, but ...

I found the link to fpc.zip, but firefox
can't do anything with it.  If it is a ftp site I need to go to, I need
the address and user/pw/port to get in.

I found a refrence to
fpc.dfmk.hu, but I don't know user/pw/port.

Thank You for your
attention.

Terry H.

On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:

> I just upgraded to a new laptop and see that MariaDB is using MySQL
8.0
> . I also see there is no connector in my Free Pascal install for
MySQL
> 8.0.  I do see that there is an open ticket to create a
connector.  Is
> there an Alpha or Beta version of the connector available that I can
> try?

Trunk contains the mysql 8.0 connector.
You should be able to simply copy the files and use the units with
3.2.x

Michael.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Florian Klämpfl via fpc-pascal


> Am 19.09.2021 um 10:46 schrieb Michael Van Canneyt via fpc-pascal 
> :
> 
> 
> 
> On Sun, 19 Sep 2021, Florian Klämpfl via fpc-pascal wrote:
> 
>> 
>> 
>>> Am 19.09.2021 um 10:16 schrieb Michael Van Canneyt via fpc-pascal 
>>> :
>>> On Sat, 18 Sep 2021, Florian Klämpfl via fpc-pascal wrote:
 Am 18.09.21 um 17:34 schrieb Michael Van Canneyt via fpc-pascal:
> On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:
>> I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
>> . I also see there is no connector in my Free Pascal install for MySQL
>> 8.0.  I do see that there is an open ticket to create a connector.  Is
>> there an Alpha or Beta version of the connector available that I can
>> try?
> Trunk contains the mysql 8.0 connector.
> You should be able to simply copy the files and use the units with 3.2.x
 Shall we merge it to fixes?
>>> Yes, definitely.
>> 
>> Hmm, it is inter winded with fcl-db changes should merge them as well?
> 
> There should be a change in mysql (the library headers) and a change in
> fcl-db (the new connector class) ?
> 

Ah, I see it is already merged. I wondered already why it is not in the 
eligibile.log ...___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Michael Van Canneyt via fpc-pascal



On Sun, 19 Sep 2021, Florian Klämpfl via fpc-pascal wrote:





Am 19.09.2021 um 10:16 schrieb Michael Van Canneyt via fpc-pascal 
:



On Sat, 18 Sep 2021, Florian Klämpfl via fpc-pascal wrote:


Am 18.09.21 um 17:34 schrieb Michael Van Canneyt via fpc-pascal:

On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:

I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0.  I do see that there is an open ticket to create a connector.  Is
there an Alpha or Beta version of the connector available that I can
try?

Trunk contains the mysql 8.0 connector.
You should be able to simply copy the files and use the units with 3.2.x


Shall we merge it to fixes?


Yes, definitely.


Hmm, it is inter winded with fcl-db changes should merge them as well?


There should be a change in mysql (the library headers) and a change in
fcl-db (the new connector class) ?

Michael.___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Florian Klämpfl via fpc-pascal


> Am 19.09.2021 um 10:16 schrieb Michael Van Canneyt via fpc-pascal 
> :
> 
> 
> 
> On Sat, 18 Sep 2021, Florian Klämpfl via fpc-pascal wrote:
> 
>> Am 18.09.21 um 17:34 schrieb Michael Van Canneyt via fpc-pascal:
>>> On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:
 I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
 . I also see there is no connector in my Free Pascal install for MySQL
 8.0.  I do see that there is an open ticket to create a connector.  Is
 there an Alpha or Beta version of the connector available that I can
 try?
>>> Trunk contains the mysql 8.0 connector.
>>> You should be able to simply copy the files and use the units with 3.2.x
>> 
>> Shall we merge it to fixes?
> 
> Yes, definitely.

Hmm, it is inter winded with fcl-db changes should merge them as well?

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Michael Van Canneyt via fpc-pascal



On Sat, 18 Sep 2021, Florian Klämpfl via fpc-pascal wrote:


Am 18.09.21 um 17:34 schrieb Michael Van Canneyt via fpc-pascal:



On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:


I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0.  I do see that there is an open ticket to create a connector.  Is
there an Alpha or Beta version of the connector available that I can
try?


Trunk contains the mysql 8.0 connector.
You should be able to simply copy the files and use the units with 3.2.x



Shall we merge it to fixes?


Yes, definitely.

Michael.___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-18 Thread Florian Klämpfl via fpc-pascal

Am 18.09.21 um 17:34 schrieb Michael Van Canneyt via fpc-pascal:



On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:


I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0.  I do see that there is an open ticket to create a connector.  Is
there an Alpha or Beta version of the connector available that I can
try?


Trunk contains the mysql 8.0 connector.
You should be able to simply copy the files and use the units with 3.2.x



Shall we merge it to fixes?

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-18 Thread Michael Van Canneyt via fpc-pascal



On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:


I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0.  I do see that there is an open ticket to create a connector.  Is
there an Alpha or Beta version of the connector available that I can
try?


Trunk contains the mysql 8.0 connector.
You should be able to simply copy the files and use the units with 3.2.x

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal