What is the best of MySql (lib or class) TMySql, TDolphin
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Richard,
Thank you,
I received it.
Marc
Thank you,
I received it.
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Re: What is the best of MySql (lib or class) TMySql, TDolphin
I get it thanks!
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
C:\borland\bcc582\bin\bcc32 -c -O2 -IC:\borland\bcc582\include;c:\hb30\include -DHB_OS_WIN_32_USED -oobj\tmysql.obj obj\tmysql.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
obj\tmysql.c:
Error E2451 obj\tmysql.c 142: Undefined symbol 'ModuleFakeDyn'
Error E2141 obj\tmysql.c 142: Declaration syntax error
Error E2190 obj\tmysql.c 142: Unexpected }
Error E2040 obj\tmysql.c 142: Declaration terminated incorrectly
Error E2190 obj\tmysql.c 334: Unexpected }
Error E2109 obj\tmysql.c 334: Not an allowed type in function hb_vm_SymbolInit_TMYSQL
*** 6 errors in Compile ***
** error 1 ** deleting obj\tmysql.obj
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
C:\borland\bcc582\bin\bcc32 -c -O2 -IC:\borland\bcc582\include;c:\hb30\include -DHB_OS_WIN_32_USED -oobj\tmysql.obj obj\tmysql.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
obj\tmysql.c:
Error E2451 obj\tmysql.c 142: Undefined symbol 'ModuleFakeDyn'
Error E2141 obj\tmysql.c 142: Declaration syntax error
Error E2190 obj\tmysql.c 142: Unexpected }
Error E2040 obj\tmysql.c 142: Declaration terminated incorrectly
Error E2190 obj\tmysql.c 334: Unexpected }
Error E2109 obj\tmysql.c 334: Not an allowed type in function hb_vm_SymbolInit_TMYSQL
*** 6 errors in Compile ***
** error 1 ** deleting obj\tmysql.obj
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Richard,
For me it's running fine. I can connect to my SQL-server (MariaDB) an create database and tables.
The only thing I could find is how to run in embedded mode (no MySQL-server or MariaDB running) for no network version, and development.
But this is noo problem. Now I'm using SQLite for that.
Regards,
Marc
For me it's running fine. I can connect to my SQL-server (MariaDB) an create database and tables.
The only thing I could find is how to run in embedded mode (no MySQL-server or MariaDB running) for no network version, and development.
But this is noo problem. Now I'm using SQLite for that.
Regards,
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Marc, do you use Harbour or xHarbour? And can you please post your link file tooMarc Vanzegbroeck wrote:Richard,
For me it's running fine.
Marc
Thanks
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
I'm using xHarbour 0.99.71 (Simplex)mosh1 wrote:Marc, do you use Harbour or xHarbour? And can you please post your link file tooMarc Vanzegbroeck wrote:Richard,
For me it's running fine.
Marc
Thanks
I'm using Richard files to create the lib-files
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Re: What is the best of MySql (lib or class) TMySql, TDolphin
And how do you link your samples?Marc Vanzegbroeck wrote:I'm using xHarbour 0.99.71 (Simplex)mosh1 wrote:Marc, do you use Harbour or xHarbour? And can you please post your link file tooMarc Vanzegbroeck wrote:Richard,
For me it's running fine.
Marc
Thanks
I'm using Richard files to create the lib-files
Marc
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Now, I Only use MySQL Server v5.5 within my NB Windows8. You can use Local Host way to connect MySQL Server.Marc Vanzegbroeck wrote:Richard,
For me it's running fine. I can connect to my SQL-server (MariaDB) an create database and tables.
The only thing I could find is how to run in embedded mode (no MySQL-server or MariaDB running) for no network version, and development.
But this is noo problem. Now I'm using SQLite for that.
Regards,
Marc
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
I added these 2 linesmosh1 wrote:
And how do you link your samples?
C:\FWH\MySQL\TMySQL\mysql.lib +
C:\FWH\MySQL\TMySQL\libmysql.lib +
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Thanks! I compiled and linked test.prg samples and now I am getting "No connection to server" message. What can be wrong?Marc Vanzegbroeck wrote:I added these 2 linesmosh1 wrote:
And how do you link your samples?
C:\FWH\MySQL\TMySQL\mysql.lib +
C:\FWH\MySQL\TMySQL\libmysql.lib +
Also : is it possible to use Harbour not xHarbour?
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Did you set the correct IP-adres,user and password to the server with MySQL?mosh1 wrote:Thanks! I compiled and linked test.prg samples and now I am getting "No connection to server" message. What can be wrong?Marc Vanzegbroeck wrote:I added these 2 linesmosh1 wrote:
And how do you link your samples?
C:\FWH\MySQL\TMySQL\mysql.lib +
C:\FWH\MySQL\TMySQL\libmysql.lib +
Also : is it possible to use Harbour not xHarbour?
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Where I have to set IP address and where do I get it?Marc Vanzegbroeck wrote: Did you set the correct IP-adres,user and password to the server with MySQL?
This is line I am using :
oServer := TMySQLServer():New( "localhost", "root", "password" )
I am sure password is right. MySQL server is on the same machine
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Hello
instead localhost use 127.0.0.1
sometimes this problem occurs because the mysql imported lib (libmysql.lib) was not corresponds with current DLL (libmysql.dll)
you can use implib.exe tool (from borland) to built it.
instead localhost use 127.0.0.1
sometimes this problem occurs because the mysql imported lib (libmysql.lib) was not corresponds with current DLL (libmysql.dll)
you can use implib.exe tool (from borland) to built it.
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Re: What is the best of MySql (lib or class) TMySql, TDolphin
If your MySQL database is on another computer you should check the my.cnf to see if network connections are allowed and configure your firewall to accept TCP connections on port 3306.mosh1 wrote: Thanks! I compiled and linked test.prg samples and now I am getting "No connection to server" message. What can be wrong?
Regards,
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Thanks! 127.0.0.1 works, but I built libmysql.lib with implib.exe from Borland and localhost still is not accepted.Daniel Garcia-Gil wrote:Hello
instead localhost use 127.0.0.1
sometimes this problem occurs because the mysql imported lib (libmysql.lib) was not corresponds with current DLL (libmysql.dll)
you can use implib.exe tool (from borland) to built it.
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Can you please send me whatever is in :richard-service wrote: I sent it.
p:\drlib32x\include\
Thanks