Hi!
I want to use MyDAC in Lazarus 1.6 (FPC 3.0) on Ubuntu 16.04 LTS working with MySQL 5.7
Is this possible?
If so how do I install it?
thanks
Len Jones
Ubuntu 16.04
Re: Ubuntu 16.04
Hello,
Lazarus packages are included only to MyDAC Edition with source code.
To install the source version of MyDAC to Lazarus, perform the following steps
1) Open and compile all the Lazarus packages in the following order:
dac10.lpk
dacvcl10.lpk
dcldac10.lpk
mydac10.lpk
mydacvcl10.lpk
2) Open, compile and install the dclmydac10.lpk package
Lazarus packages are included only to MyDAC Edition with source code.
To install the source version of MyDAC to Lazarus, perform the following steps
1) Open and compile all the Lazarus packages in the following order:
dac10.lpk
dacvcl10.lpk
dcldac10.lpk
mydac10.lpk
mydacvcl10.lpk
2) Open, compile and install the dclmydac10.lpk package
Re: Ubuntu 16.04
Component installed
IDE working at 100% but in runtime when I immediately try to connect I get this error:
Error on data writing to the connection: Invalid socket
Ubuntu 16.4, Lazarus 1.6, MyDac10
This in all mysql servers (localhost or web), I have installed a fresh ubuntu so again.
Python libraries working without any problem in the same computer.....
Please help me I am in hurry to resolve this....
I need my windows app can compile in ubuntu and IOS.
IDE working at 100% but in runtime when I immediately try to connect I get this error:
Error on data writing to the connection: Invalid socket
Ubuntu 16.4, Lazarus 1.6, MyDac10
This in all mysql servers (localhost or web), I have installed a fresh ubuntu so again.
Python libraries working without any problem in the same computer.....
Please help me I am in hurry to resolve this....
I need my windows app can compile in ubuntu and IOS.
Re: Ubuntu 16.04
To resolve the problem, in the project file ( with the *.lpr extension) add the following string: before
Code: Select all
{$DEFINE UseCThreads}
Code: Select all
{$IFDEF UNIX}{$IFDEF UseCThreads}
Re: Ubuntu 16.04
Thanks Viktor, this resolved the problem......
Re: Ubuntu 16.04
It is good to see that the problem has been solved.
Feel free to contact us if you have any further questions about our products.
Feel free to contact us if you have any further questions about our products.