AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   sql.cfg (https://forums.alliedmods.net/showthread.php?t=183811)

Artifact 04-27-2012 05:53

sql.cfg
 
What is realy sql_host???
My GameServer and WebServer isn't on same machine, so I dont know how to catch sql_host..

claudiuhks 04-27-2012 06:11

Re: sql.cfg
 
What exactly do you want to do with sql_host? To catch it?!

Artifact 04-27-2012 06:27

Re: sql.cfg
 
I don't know what I need to write in amx_sql_host ""

GordonFreeman (RU) 04-27-2012 06:29

Re: sql.cfg
 
you need write mysql server ip

fysiks 04-27-2012 09:54

Re: sql.cfg
 
It should be given to you when you set up your database (assuming you have it hosted somewhere reputable). Most hosts don't allow outside connections though.

hornet 04-27-2012 10:41

Re: sql.cfg
 
Quote:

Originally Posted by fysiks (Post 1697393)
It should be given to you when you set up your database (assuming you have it hosted somewhere reputable). Most hosts don't allow outside connections though.

But then again most hosts have Remote Server Access :)

wickedd 04-27-2012 11:23

Re: sql.cfg
 
Quote:

Originally Posted by hornet (Post 1697434)
But then again most hosts have Remote Server Access :)

I think fysiks was talking about free hosting.

Exolent[jNr] 04-27-2012 11:34

Re: sql.cfg
 
The host is the location of your database. If it is on your webserver, then use the IP/domain of it.

Artifact 04-27-2012 13:34

Re: sql.cfg
 
Quote:

Originally Posted by Exolent[jNr] (Post 1697479)
The host is the location of your database. If it is on your webserver, then use the IP/domain of it.

Aha, if I have www.something.com website i can to write in amx_sql_host "www.something.com"?

wickedd 04-27-2012 14:27

Re: sql.cfg
 
It would be

amx_sql_host "www.something.com"

or

amx_sql_host "the ip address"


All times are GMT -4. The time now is 07:41.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.