Post: MYSQL Connecting to SPRX menu
05-19-2017, 04:22 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I've tried searching everywhere , couldn't find answers how to do it , i have working auth systeam on mysql side but not on C++ side i have no clue how to do this any possible help ? THANKS Smile
05-19-2017, 04:40 PM #2
Default Avatar
Oneup
Guest
Originally posted by Bosix123 View Post
I've tried searching everywhere , couldn't find answers how to do it , i have working auth systeam on mysql side but not on C++ side i have no clue how to do this any possible help ? THANKS Smile


You should never connect directly to a SQL server from the client side. You should have some form of web service that handles things like this.
05-19-2017, 04:48 PM #3
like example?
05-22-2017, 04:46 AM #4
Default Avatar
Oneup
Guest
Originally posted by Bosix123 View Post
like example?


Well it depends what you are writing your web code in.
ASP.NET
You must login or register to view this content.

PHP
You must login or register to view this content.

Both are just examples
05-22-2017, 09:47 PM #5
Tustin
Balls of Steel
Like Oneup said, you don't want a direct connection to MySQL because that just lets anyone else connect to it when they want. You'll probably want an API that your SPRX can send requests to verify whatever you need. That API would then connect to MySQL and run queries, then output whatever info you want the SPRX to receive.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo