Forum

Results 1 to 2 of 2

Thread: ini

  1. #1
    Join Date
    December 2009
    Location
    Planet earth
    Posts
    10

    ini

    im tut wird beschreiebn das man eine ini editiern muss um auf my sql zu connecten aber wo ist diese verdammte ini im root verz. nicht.

    Ich finds toll weil ich würde gern den server auf debian unter mysql laufen lassen nur die anleitung in den docs ist mir nicht so ganz verständlich und viele schreiben hier das das unter debian nicht läuft also der server ohne sql läuft 1a und debian bei mir allerdings habe ich noch etch am start vlt liegts ja dadran hab nur 5 mal den server fuer linux geladen und nie die ini gefunden wär toll wenn mir jemand sagen könnte was ich tun soll

  2. #2
    Join Date
    December 2009
    Location
    Germany
    Posts
    20
    Im Unterordner "doc" der TS3-Serverinstallation gibt es eine server_quickstart.txt - da drin sind alle Infos die Du suchst enthalten.

    In subfolder "doc" of your TS3-Serverinstallation you find a server_quickstart.txt - that contains all infos you are looking for.

    --------------------------
    (6) Commandline Parameters
    --------------------------

    Commandline parameters are passed to the TeamSpeak 3 Server using the form:

    ts3server_<arch> <parameter1>=<value1> [<parameter2>=<value2>] ...

    Important: All commandline parameters passed to the server need to be escaped
    using the ServerQuery escape patterns (check the ServerQuery manual for details).

    Example:
    $ ./ts3server_linux_x86 clear_database=1 create_default_virtualserver=0

    Commandline parameters are not saved over sessions, so if you passed paramaters
    when starting the server process, you need to pass them again the next time. If
    a parameter is not specified, the default value will be used, regardless of
    parameters specified during a previous server start.

    The following commandline parameters are available:

    * default_voice_port (9987)
    UDP port open for clients to connect to. This port is used by the first
    virtual server, subsequently started virtual servers will open on increasing
    port numbers.
    Default: The default voice port is 9987.

    * voice_ip (0.0.0.0)
    IP on which the server instance will listen for incoming voice connections.
    Default: The server is bound on any IP address.

    * create_default_virtualserver (1)
    Normally one virtual server is created automatically when the TeamSpeak 3
    Server process is started. To disable this behaviour, set this parameter
    to "0". In this case you have to start virtual servers manually using the
    ServerQuery interface.
    Default: If not provided, one virtual server is created.

    * machine_id (<empty>)
    Optional name of this server process to identity a group of servers with
    the same ID.
    Default: The server instance will not use a machine ID.

    * filetransfer_port (30033)
    TCP Port opened for file transfers. If you specify this parameter, you also
    need to specify the "filetransfer_ip" parameter!
    Default: The default file tranfer port is 30033.

    * filetransfer_ip (0.0.0.0)
    IP on which the file transfers are bound to. If you specify this parameter,
    you also need to specify the "filetransfer_port" parameter!
    Default: File transfers are bound on any IP address.

    * query_port (10011)
    TCP Port opened for ServerQuery connections. If you specify this parameter,
    need to specify the "query_ip" parameter!
    Default: The default ServerQuery port is 10011.

    * query_ip (0.0.0.0)
    IP bound for incoming ServerQuery connections. If you specify this parameter,
    you also need to specify the "query_port" parameter!
    Default: ServerQuery connections are bound on any IP address.

    * clear_database (0)
    If set to "1", the server database will be cleared before starting up the server.
    This is mainly used for testing. Usually this parameter should not be specified,
    so all server settings will be restored when the server process is restarted.
    Default: Database is not cleared on start.

    * logpath (logs/)
    The physical path where the server will create logfiles.
    Default: The server will search for SQL script files in the "logs/" subdirectory.

    * dbplugin (ts3db_sqlite3)
    Name of the database plugin library used by the server instance. For example, if
    you want to start the server with MySQL support, simply set this parameter to
    "ts3db_mysql" to use the MySQL plugin. Do *NOT* specify the "lib" prefix or the file
    extension of the plugin.
    Default: The default SQLite3 database plugin will be used.

    * dbpluginparameter (<empty>)
    A custom parameter passed to the database plugin library. For example, the MySQL
    database plugin supports a parameter to specify the physical path of the plugins
    configuration file.
    Default: The database plugin will be used without a parameter.

    * dbsqlpath (sql/)
    The physical path where your SQL script files are located.
    Default: The server will search for SQL script files in the "sql/" subdirectory.

    * dbsqlcreatepath (create_sqlite/)
    The physical path where your SQL installation files are located. Note that this
    path will be added to the value of the "dbsqlpath" parameter.
    Default: The server will search for SQL installation scripts files in the
    "<dbsqlpath>/dbsqlcreatepath/" subdirectory.

    * licensepath (<empty>)
    The physical path where your license file is located.
    Default: The license file is located in your servers installation directory.

    * createinifile (0)
    If set to "1", the server will create an INI-style config file containing all
    commandline parameters with the values you have specified.
    Default: The server will not create a config file.

    * inifile (ts3server.ini)
    The physical path where your config file is located. Per default, the config file will
    be called "ts3server.ini".
    Default: The config file is located in your servers installation directory.

    ------------------------------------
    (7) Using Alternate Database Plugins
    ------------------------------------

    (i) MySQL plugin

    To make your TeamSpeak 3 Server use a MySQL database you need to make sure that the
    "ts3db_mysql" library is located in your servers installation directory. Per default,
    the plugin is using the following parameters:

    * host (127.0.0.1)
    The hostname or IP addresss of your MySQL server.

    * port (3306)
    The TCP port of your MySQL server.

    * username (root)
    The username used to authenticate with your MySQL server.

    * password (<empty>)
    The password used to authenticate with your MySQL server.

    * database (test)
    The name of a database on your MySQL server. Note that this database must be created
    before the TeamSpeak 3 Server is started.

    * socket (<empty>)
    The name of the Unix socket file to use, for connections made via a named pipe to a
    local server.

    All parameters can be customized by creating a INI-style configuration file called
    "ts3db_mysql.ini". For example:

    [config]
    host=localhost
    port=3306
    username=teamspeak
    password=x5gUjs
    database=ts3db
    socket=

    The path and filename of the configuration file can be set using the "dbpluginparameter"
    commandline parameter.

    To start the TeamSpeak 3 Server with MySQL support, you need to specify the "dbplugin"
    commandline parameter. You may also need to specify the "dbsqlcreatepath" parameter if
    you're starting the server instance for the first time since the syntax of the MySQL
    installation files differs from SQLite3.

    Example:
    $ ./ts3server_linux_amd64 dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •