[Request] MySQL Object

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I would like to request a MySql Object from one of the devs. I imagine it would be very useful to many users to have an object as currently, the only method of accessing a MySql database from within our programs is with the ODBC object. The major drawback with this object is that it requires the database drivers to access different types of databases; MySql is not by default installed.

    I am assuming that if an object was made, it would not require a driver to be installed on every machine as the engine would be integrated into the object. Sun/MySql site provide a dll file which I am guessing would make this object a lot easier to make. When thinking about how the object works, I see it working generally the same way as Please login to see this link. .

    I would be very grateful if someone would be kind enough to make this object.

    Thanks,

    DingDong

    Applications | Games | MMF...

    Please login to see this link.

  • Well if anyone is going to make it, I'm pretty sure Byo will when he has some spare time. I asked a while ago. I think the MSSql server object would be more useful from a MMFDev point of view. I think a cash insentive would spur someone on to make it quicker ;)

    Regards

    Ross

    Please login to see this link.

  • Hi, guys.

    It's a great idea but I think I'm not up to the task since I've never used or seen MySql in action. SQL Server and SQLite3 were not a problem because I use them on a daily basis. :)

    But yes, if I can find some time to study a little about deploying MySQL and connecting to it I will surely want to start working on it. You can count on me, of course. But I can't promise anything since work, study and wife are taking me away from what I like to do. :D

  • Thats awesome news Byo :) No rush of course. If there's any way I can help, please, pm me or email me.

    Quote from DJFuego

    I think a cash insentive would spur someone on to make it quicker ;)

    I would love to be able to provide such incentive, but being a student, what little money I have goes towards food and alcohol :D

    Applications | Games | MMF...

    Please login to see this link.

  • One of the problems with an mySQL object is you have to find a host or run mySQL so it accepts remote connections if you want your mySQL running on a webserver.

    99% of the shared hosts run it so it only connects via "localhost" or scripts must reside inside the local network. So remote calls from outside won't work.

    This is due because hackers love to hack into mySQL databases and with remote connections they can just sit back and hack away.

    Long long long ago -- A person made a mySQL object for MMF 1.2 and this issue kept everyone from using it as no host runs in such an open hacker attracting environment.

    I think what you will need is an object that also comes with a specially designed php script -- the object would communicate with the script -- The script would communicate with mySQL and return the result to the script.

    I don't think you'll ever see anything that can communicate directly with mySQL on a webserver.

    Please login to see this link.

  • Quote

    I think what you will need is an object that also comes with a specially designed php script -- the object would communicate with the script -- The script would communicate with mySQL and return the result to the script.


    Perhaps a widget based on Live Receiver?

  • Right now my current project is able to connect with mySQL by use of the vitalize object.

    It uses some tricky ajax allowing it to send info to php. The php sends a request then outputs it back into the program. If anyone asks I can send them my code and/or walk them through it.

  • Jakinbandw, just be careful that one cannot insert native SQL through one of the parameters in your PHP page.

    Although, I use a similar approach at work... if many clients are to use the application, I make .aspx files to connect to instead, port 80 and parameters are very flexible and expandable.

    Also, making different clients is now easy, I easily made other clients in BAT script (it's called that?), VBA, C#... Life's good now, lol! :)

    Any ideas?

  • normal XSS protection + a hash check to make sure that it was the cnn that sent the info is what I use.

    Also I am not a great programmer, still in first year at university. I learned php to help a guy with his website. I don't even know html that well. ><

    On the other hand I am good at finding things and making them work so that was how I got the ajax working.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!