• Auto Donation[SQL Question]
    7 replies, posted
So basicly i've uploaded the required files on the webserver and on the gameserver. now these 2 do both require sql connection. i got sql details from game but also web. which ones do i pick? picking gameserver sql details for both didn't seem to work.
I don't quite understand what you're asking; but you need to enter your MySQL Database info for both of them; same for both. So things like your MySQL Username, Password, Hostname. If you don't have a MySQL database, there are several cheap(or free) hosts available online, just google it.
[QUOTE=jackg904;43428352]I don't quite understand what you're asking; but you need to enter your MySQL Database info for both of them; same for both. So things like your MySQL Username, Password, Hostname. If you don't have a MySQL database, there are several cheap(or free) hosts available online, just google it.[/QUOTE] I do have a mysql database with host username and password for the gameserver but also a mysql database(phpmyadmin) that is created on the webhosting
Use the one on the webserver for both.
[QUOTE=Tenpenny;43428500]Use the one on the webserver for both.[/QUOTE] So what are you technicly saying? using gameserver sql details on the webserver and also on the gameserver itself? [editline]5th January 2014[/editline] Bump still looking for a solution
No, if your setting up an SQL on your server, then you use the websites SQL databases on the gameserver...
[QUOTE=Tenpenny;43429789]No, if your setting up an SQL on your server, then you use the websites SQL databases on the gameserver...[/QUOTE] Okay So let me be clear: My Hosting Provider gave me a SQL that's linked with the gameserver. On my Webhosting i also created a SQL Database(With user/pass etc) Now i have files on the Webhosting and on the Gameserver So you're saying is: Link the gameserver sql on the webhosting and link the webhosting sql on the gameserver?
[QUOTE=fbto4;43429868]Okay So let me be clear: My Hosting Provider gave me a SQL that's linked with the gameserver. On my Webhosting i also created a SQL Database(With user/pass etc) Now i have files on the Webhosting and on the Gameserver So you're saying is: Link the gameserver sql on the webhosting and link the webhosting sql on the gameserver?[/QUOTE] Scrap the MySQL database you got from your Game Server Provider and use the one your webhosting has. In your server lua file for the auto donation thing, edit the database connection info to be the same as your database on your web host.
Sorry, you need to Log In to post a reply to this thread.