Hi,
i've been looking all over for some information on how to have UScript connect and select/insert records from a mySQL server, and couldn't find anything anywhere. So I am going to attempt to do the API myself.
I was wondering if I could just somehow import mysql.h from mysql in one of my classes? Couldn't be that easy?
In last resort i'm thinking of subclassing the UBrowserBufferedTCPLink and going from there to connect to the mysql server.
I am not sure how mySQL is expecting a connection tho?
Do I just open a TCP socket on the right port and then send SQL queries and wait for the answer?
Anyone has any usefull info on this?
Thanks
Qjahe
i've been looking all over for some information on how to have UScript connect and select/insert records from a mySQL server, and couldn't find anything anywhere. So I am going to attempt to do the API myself.
I was wondering if I could just somehow import mysql.h from mysql in one of my classes? Couldn't be that easy?
In last resort i'm thinking of subclassing the UBrowserBufferedTCPLink and going from there to connect to the mysql server.
I am not sure how mySQL is expecting a connection tho?
Do I just open a TCP socket on the right port and then send SQL queries and wait for the answer?
Anyone has any usefull info on this?
Thanks
Qjahe
Last edited: