AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Reloading databases.cfg (https://forums.alliedmods.net/showthread.php?t=151998)

Ginxeng 03-02-2011 18:36

Reloading databases.cfg
 
Is there a way to make the server reload the databases.cfg without restarting the server?

Bacardi 03-03-2011 08:52

Re: Reloading databases.cfg
 
Change map ?
That way I have change database setting...

ReFlexPoison 03-09-2016 17:37

Re: Reloading databases.cfg
 
Biggest necro-bump ever. But is this possible to do this on-command. Reloading the map for me doesn't seem to have an effect on it. Looking to avoid restarting the server if possible.

Mitchell 03-09-2016 18:41

Re: Reloading databases.cfg
 
Quote:

Originally Posted by ReFlexPoison (Post 2401082)
Biggest necro-bump ever. But is this possible to do this on-command. Reloading the map for me doesn't seem to have an effect on it. Looking to avoid restarting the server if possible.

You could try reloading the sql extension.

Peace-Maker 03-10-2016 07:09

Re: Reloading databases.cfg
 
Already running connections won't get shutdown and restarted using new information from the databases.cfg. You have to reload your plugin as well, to get it connect with the changed databases.cfg config after mapchange. I wouldn't suggest unloading one of the SQL extensions just now..

ReFlexPoison 03-10-2016 14:00

Re: Reloading databases.cfg
 
Thanks for the responses guys.

ImACow 03-24-2020 16:00

Re: Reloading databases.cfg
 
For those people ending up here by googling, there is an actual command now:

PHP Code:

sm_reload_databases 

https://github.com/alliedmodders/sou...tabase.cpp#L84


All times are GMT -4. The time now is 11:01.

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