Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / MySQL <-> C++

Author
Message
Yogz
19
Years of Service
User Offline
Joined: 11th Oct 2004
Location: England
Posted: 8th Jul 2008 20:16
In case anyone is looking at setting up a game server with the intention of using MySQL as the data repository, after some effort I managed to cobble together the jigsaw.

You may not require all of the following, however it worked for me. Firstly install stuff like Apache, MySQL, PHP. I found a good guide for this here:

http://www.devarticles.com/c/a/Apache/Installing-PHP-under-Windows/2/

You may also wish to install PHPMyAdmin as its a reasonably good interface.

http://www.aota.net/PHP_and_MySQL/phpmyadmin.php4

And if you have problems with accessing MySQL via PHPMyAdmin once it installed you may wish to consider the following:

http://geekswithblogs.net/timh/archive/2005/10/31/58591.aspx


Once you\'ve managed to get the server running, you can access it via C++ using code along the lines of the following:



The MySQL defined variables in the above code will need changing to reflect your MySQL database configuration. The above code includes some Multisync stuff as I\'m too lazy to edit it out.
iTeM
16
Years of Service
User Offline
Joined: 26th May 2008
Location: Germany
Posted: 23rd Jul 2008 14:23 Edited at: 24th Jul 2008 19:46
thanks for tis post

€dit:
problem solved
I forgot to choose complete instalation of the mysql server package

Login to post a reply

Server time is: 2024-09-30 01:31:08
Your offset time is: 2024-09-30 01:31:08