diff --git a/dlls/pgsql/pgsql.cfg b/dlls/pgsql/pgsql.cfg new file mode 100755 index 00000000..ea7104b0 --- /dev/null +++ b/dlls/pgsql/pgsql.cfg @@ -0,0 +1,9 @@ +// pgSQL configuration file +// File location: $moddir/addons/amxx/configs/pgsql.cfg + +// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1" +// We recommend using your server IP address instead of its name +amx_pgsql_host "127.0.0.1" +amx_pgsql_user "root" +amx_pgsql_pass "" +amx_pgsql_db "amx" \ No newline at end of file diff --git a/dlls/pgsql/readme.txt b/dlls/pgsql/readme.txt index 5ee59e6b..7f846175 100755 --- a/dlls/pgsql/readme.txt +++ b/dlls/pgsql/readme.txt @@ -29,4 +29,7 @@ geoip_amx.dll 4] If you are using pgsql to store admins: Place admin_pgsql.amx in addons/amxx/plugins/ And add this line to addons/amxx/plugins.ini: -admin_pgsql.amx \ No newline at end of file +admin_pgsql.amx + +5] Put pgsql.cfg in addons/amxx/configs/ +Open it and make sure the host, user, password, and database name are correct \ No newline at end of file