Torque 3d MySql connection Problem
by TigerHeros · in Torque 3D Professional · 02/25/2010 (3:56 am) · 1 replies
Hi All
I have Login,password and submit button . when the user clicks the submit button it
should register the Login name and password in remote windows dedicated server.
I am using the following code.
%sql = new Mysql();
%sql.host = "202.191.62.230";
%sql.port = 0;
%sql.user = "user";
%sql.pwd = "pass";
%sql.flag_compress = false;
%sql.flag_ssl = false;
%sql.db = "database";
%connected = %sql.connect();
It shows an error - cannot re-declare an object
should I integrate mysql code into torque 3d or does torque 3d have existing mysql supporting features?
Any ideas welcome.
Thanks n advance
I have Login,password and submit button . when the user clicks the submit button it
should register the Login name and password in remote windows dedicated server.
I am using the following code.
%sql = new Mysql();
%sql.host = "202.191.62.230";
%sql.port = 0;
%sql.user = "user";
%sql.pwd = "pass";
%sql.flag_compress = false;
%sql.flag_ssl = false;
%sql.db = "database";
%connected = %sql.connect();
It shows an error - cannot re-declare an object
should I integrate mysql code into torque 3d or does torque 3d have existing mysql supporting features?
Any ideas welcome.
Thanks n advance
About the author
Torque 3D Owner Ted Southard