954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Website Account Creation to SQL game database

Hello everyone. I am new here and would like to know what would be the best way to go about
setting up a website account creation system that will also store there account into a mysql database but also add it to a game database witch is sql.
Thanks

Recaci
Newbie Poster
2 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

learning about such things would be a good start.
Learning how to ask questions that are not vague and ambiguous also helps a lot.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

OK, ill try this again , I have a joomla CMS website up and running. I am planing on setting up some kind of user management system. Joomla uses MYSQL for the database and the game I am working on uses SQL. I would like to know how to get the users section when they create an account they would also have an account into the game.
Thanks

Recaci
Newbie Poster
2 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

Have the game point to the database on your web server. If the game server isn't running locally on the same as your website, make sure your webserver allows access to the database from other IPs. Most by default won't allow it, if your webserver is your own private that it shouldn't be a problem. Create a separate mysql user account for the game to use for access.

Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
 

You could also create an interface using get or post methods using a php script via which your game can get results to preset sql statements.

Your game can call the script to get the data or even change it... but it may not be the best way to do it.

FireNet
Posting Whiz in Training
258 posts since May 2004
Reputation Points: 108
Solved Threads: 7
 

There is no magic bullet here.
You're not going to somehow create records in one database when they appear in another without some work on your end.

The normal way to do such things is to have a program run at regular intervals (once an hour, once a day, whatever) that checks for changes in one database and if it finds any does something in the other.

Conceivably you could also have the inserts in the master database trigger a stored procedure that launches an external program that in turn updates the other database.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

There is no magic bullet here. You're not going to somehow create records in one database when they appear in another without some work on your end.

The normal way to do such things is to have a program run at regular intervals (once an hour, once a day, whatever) that checks for changes in one database and if it finds any does something in the other.

Conceivably you could also have the inserts in the master database trigger a stored procedure that launches an external program that in turn updates the other database.

i was wondering if any can explain how to do any of thos thigs to me please or just tell me how to link this to my webpage http://localhost/ thanks?

jonney1
Newbie Poster
1 post since Sep 2009
Reputation Points: 10
Solved Threads: 0
 
i was wondering if any can explain how to do any of thos thigs to me please or just tell me how to link this to my webpage http://localhost/ thanks?


You need to install apache on your PC.

ithelp
Nearly a Posting Maven
Banned
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You