Skip navigation.
Home
The QNX Community Portal

View topic - Writing data from QNX4 to MySQL on WinPC

Writing data from QNX4 to MySQL on WinPC

For the old QNX2 and QNX4 RTOS

Writing data from QNX4 to MySQL on WinPC

Postby Pilotek » Mon Nov 05, 2012 2:12 pm

Please help, is there a possibility to write data from QNX4 PC directly to MySQL database on network WinPC?
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

Re: Writing data from QNX4 to MySQL on WinPC

Postby maschoen » Mon Nov 05, 2012 2:20 pm

I think the answer is an obvious yes, but that's too simplistic.

As far as I know, all database access to MySQL occurs by sending SQL statements to a MySQL server via TCP/IP.
Since QNX 4 adequately supports TCP/IP, this should be possible.

Assuming you have the MySQL interface library compiled on QNX 4, it should be just a matter of using that library.
Of course the MySQL database must have a user set up that is allowed to access remotely. This is usually done with the SQL "GRANT" command.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Re: Writing data from QNX4 to MySQL on WinPC

Postby Pilotek » Mon Nov 05, 2012 4:00 pm

Thank you maschoen, and is there any free MySQL interface library compiled for QNX4 somewhere?
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

Re: Writing data from QNX4 to MySQL on WinPC

Postby maschoen » Mon Nov 05, 2012 6:34 pm

There's an open source version of MySQL. It compiles without any problem for QNX 6. I don't know about QNX 4. You'll just have to try to find out.

Keep in mind, you just need the interface library, and maybe the program "mysql" to test it.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Re: Writing data from QNX4 to MySQL on WinPC

Postby Pilotek » Thu Nov 08, 2012 7:23 am

Please, QNX masters, is there somewhere MySQL interface library successfully compiled for QNX4?
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

Re: Writing data from QNX4 to MySQL on WinPC

Postby nugi » Mon Nov 12, 2012 6:52 am

MySQL client tools and library compiled for QNX4 Version 3.23.58
Attachments
mysql-3.23.58.tar.gz
(616.75 KiB) Downloaded 184 times
nugi
New Member
 
Posts: 6
Joined: Tue Jan 11, 2005 12:16 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest

cron