How to connect FiveWin with Mysql
- richard-service
- Posts: 807
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Has thanked: 1 time
- Contact:
Re: How to connect FiveWin with Mysql
Hi
You can use TMySQL to connect MySQL and free.
Please search it in this Forum.
Regards,
Richard
You can use TMySQL to connect MySQL and free.
Please search it in this Forum.
Regards,
Richard
Best Regards,
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
-
- Posts: 465
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- Contact:
Re: How to connect FiveWin with Mysql
Hi,
www.xtech.com.cn/tmysql.prg
www.xtech.com.cn/sample1.prg
www.xtech.com.cn/sample2.prg
www.xtech.com.cn/setmysql.prg
Regards!
Shuming Wang
www.xtech.com.cn/tmysql.prg
www.xtech.com.cn/sample1.prg
www.xtech.com.cn/sample2.prg
www.xtech.com.cn/setmysql.prg
Regards!
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Re: How to connect FiveWin with Mysql
Dear Mr.Shuming Wang
Thanks for the samples and class.
Can you paste here a copy of the CLASS TMySqlServer
The Prg TMySql which you have posted above contains only the CLASS TMySQLRow
Regards
Anser
Thanks for the samples and class.
Can you paste here a copy of the CLASS TMySqlServer
The Prg TMySql which you have posted above contains only the CLASS TMySQLRow
Regards
Anser
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: How to connect FiveWin with Mysql
hello anserkk...
The prg TMYsql have
TMySqlRow ( 64 )
TmySqlQuery ( 290 )
TMySQLTable ( 1159 )
TMySQLServer ( 1590 )
The prg TMYsql have
TMySqlRow ( 64 )
TmySqlQuery ( 290 )
TMySQLTable ( 1159 )
TMySQLServer ( 1590 )
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: How to connect FiveWin with Mysql
Dear MR.Daniel,
You are right, it is there. I am so sorry
Regards
Anser
You are right, it is there. I am so sorry
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Regards
Anser
-
- Posts: 1163
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: How to connect FiveWin with Mysql
Hi,
In's maybe a stuppid question, but is it possible to use MySQL and still use the same commands as for DBF-file (APPE, REPL , INDEX,...) or do we need to use SQL commands?
Thanks,
Marc
In's maybe a stuppid question, but is it possible to use MySQL and still use the same commands as for DBF-file (APPE, REPL , INDEX,...) or do we need to use SQL commands?
Thanks,
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
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: How to connect FiveWin with Mysql
Marc
ADORdd has a lot of promise and was really my first stepping stone into working with the Enterprise databases .. you can download it from these forums ..
ADORdd works like any other rdd and you can use all your .dbf commands, .. take a look, read the code and kick the tires some.
Rick Lipkin
ADORdd has a lot of promise and was really my first stepping stone into working with the Enterprise databases .. you can download it from these forums ..
ADORdd works like any other rdd and you can use all your .dbf commands, .. take a look, read the code and kick the tires some.
Rick Lipkin
-
- Posts: 1163
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: How to connect FiveWin with Mysql
Thanks Rick,
I just downloaded ADORDD and will now test it.
Regards,
Marc
I just downloaded ADORDD and will now test it.
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: How to connect FiveWin with Mysql
Dear All,
I donwload ADORDD.ZIP and try MYSQL1.PRG and It show the error as following;
I have installed ODBC MySql 5.1 and then what do I config it?
![Image](http://img156.imageshack.us/img156/9682/mysql.th.jpg)
Regards,
Dutch
I donwload ADORDD.ZIP and try MYSQL1.PRG and It show the error as following;
Code: Select all | Expand
Application
===========
Path and name: D:\FWH\samples\mysql1.exe (32 bits)
Size: 1,442,816 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 02/23/09, 01:01:13
Error description: Error ADODB.Connection/0 S_OK: OPEN
Args:
[ 1] = C DRIVER={MySQL ODBC 3.51 Driver};server=www.freesql.org;database=test00;uid=myuser;pwd=mypass
Stack Calls
===========
Called from: => TOLEAUTO:OPEN(0)
Called from: adordd.prg => ADO_OPEN(241)
Called from: => DBUSEAREA(0)
Called from: mysql1.prg => MAIN(9)
I have installed ODBC MySql 5.1 and then what do I config it?
![Image](http://img156.imageshack.us/img156/9682/mysql.th.jpg)
Regards,
Dutch
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
-
- Posts: 465
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- Contact:
Re: How to connect FiveWin with Mysql
Hi,
Tmysql without any setting , directly use.
Only link libmysql.lib (import from libmysql.dll ) and app.exe running time with libmysql.dll .
Shuming Wang
Tmysql without any setting , directly use.
Only link libmysql.lib (import from libmysql.dll ) and app.exe running time with libmysql.dll .
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Re: How to connect FiveWin with Mysql
Dear Mr.Dutch,
Error description: Error ADODB.Connection/0 S_OK: OPEN
Args:
[1] = C DRIVER={MySQL ODBC 3.51 Driver};server=www.freesql.org;database=test00;uid=myuser;pwd=mypass.
I have not tried ADORDD but used ADO
If you have the option to specify the connections string then I think you should use
Driver={MySQL ODBC 5.1 Driver} instead of {MySQL ODBC 3.51 Driver}
Or other alternative is uninstall MySQL ODBC ver 5.1 and Install 3.51
Regards
Anser
I have installed ODBC MySql 5.1 and then what do I config it?
Error description: Error ADODB.Connection/0 S_OK: OPEN
Args:
[1] = C DRIVER={MySQL ODBC 3.51 Driver};server=www.freesql.org;database=test00;uid=myuser;pwd=mypass.
I have not tried ADORDD but used ADO
If you have the option to specify the connections string then I think you should use
Driver={MySQL ODBC 5.1 Driver} instead of {MySQL ODBC 3.51 Driver}
Or other alternative is uninstall MySQL ODBC ver 5.1 and Install 3.51
Regards
Anser
-
- Posts: 1163
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: How to connect FiveWin with Mysql
Hi,
I'm still trying to install MySQL. 5.1 Is it possible to installed it on a VMWARE XP-Pro? I allway's get 'Error 0' at the end of configuring the database when it wants to start the service.
Regards,
Marc
I'm still trying to install MySQL. 5.1 Is it possible to installed it on a VMWARE XP-Pro? I allway's get 'Error 0' at the end of configuring the database when it wants to start the service.
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
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: How to connect FiveWin with Mysql
Mark,
You could install Linux on vmware, as it may be much easier to set mysql, apache, etc. on Linux
You could install Linux on vmware, as it may be much easier to set mysql, apache, etc. on Linux
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: How to connect FiveWin with Mysql
Dutch,
Please try it with these connections values:
server=SQL06.FREEMYSQL.NET;database=fwppc;uid=fivetech;pwd=fivewin
the older one seems to be no longer available
Please try it with these connections values:
server=SQL06.FREEMYSQL.NET;database=fwppc;uid=fivetech;pwd=fivewin
the older one seems to be no longer available