Iconomy 6 mysql

Dyskusja w 'Archiwum' rozpoczęta przez użytkownika Matius22, Cze 1, 2012.

Status tematu:
Brak możliwości dodawania odpowiedzi.
  1. Matius22
    Offline

    Matius22 Nowicjusz

    Wiadomości:
    1
    Polubienia:
    0
    Punkty:
    1
    Witam, mam takie pytanie jak podłączyć iconomy 7 pod mysqla ? Twórca tego w configu nigdzie nie podał z jaka baza ma się połączyć, więc ?
     
  2. Regzand
    Offline

    Regzand Użytkownik

    Wiadomości:
    328
    Polubienia:
    225
    Punkty:
    73
    Jakto nie podal?
    Kod (text):
    1. Database:
    2.     # Databases Supported:
    3.     # Flatfile, FF, mini, minidb
    4.     #  - These all equate to miniDB
    5.     ##
    6.     # item, items, inventory, inventoryDB
    7.     #  - These all equate to InventoryDB, which uses inventory for storage
    8.     ##
    9.     # xp, exp, orb, xpdb, expdb, orbdb
    10.     #  - These all equate to ExperienceDB, which relies on Experience for balance.
    11.     ##
    12.     # mysql, mysqldb
    13.     #  - These will attempt to connect to MySQL
    14.     ##
    15.     # sqlite, sqlite2, sqlite3, sqlitedb
    16.     #  - These will attempt to create & connect to SQLite
    17.     ##
    18.     # postgre, postgreSQL, postgreDB
    19.     #  - These will attempt to connect to PostgreSQL
    20.     Type: 'minidb'
    21.    
    22.     # These are for InventoryDB only.
    23.     #
    24.     # InventoryDB is essentially Physical Money.
    25.     #  It isn't logged in a database, its based on the users inventory
    26.     #  and the two items selected below.
    27.     #
    28.     # MajorItem is the item or block ID of the major currency
    29.     # MinorItem is the item or block ID of the minor currency
    30.     # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
    31.     MajorItem: 266
    32.     MinorItem: 265
    33.  
    34.     # This controls the database name, by default it is iConomy
    35.     Table: 'iConomy'
    36.  
    37.     # URL is for SQL Databases Only
    38.     ##
    39.     # Path to iConomy folder is easy, it's the COMPLETE path.
    40.     # (Mine) G:\MineCraft\plugins\iConomy\
    41.     # Won't be the same as yours, but it usually looks like that.
    42.     ##
    43.     # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
    44.     # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
    45.     ##
    46.     # Binary Databases use ip:port style connections.
    47.     # ip
    48.     #  - is the connection identifier (internet protocol)
    49.     #  - for ipv6 usually encased in brackets [::1]
    50.     # port
    51.     #  - the port that the database is listening on
    52.     #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
    53.     ##
    54.     # [MySQL Default] mysql://localhost:3306/iConomy
    55.     # [Postgre Default] postgresql://localhost:5740/iConomy
    56.     URL: 'mysql://localhost:3306/iConomy'
    57.  
    58.     # Login details for binary databases
    59.     Username: 'root'
    60.     Password: ''
    61.  
    62.     ##############################################################
    63.     # !!! Conversion is not your database settings !!!
    64.     ##############################################################
    65.     # Conversion allows you to convert your old 5.x to the new 6.x
    66.     # All is currently unused.
    67.     ##############################################################
    68.     # URL is for MySQL only, H2DB doesn't use it.
    69.     ##############################################################
    70.     Conversion:
    71.       # Set to True, After converting, change this back to false!
    72.       Enabled: false
    73.  
    74.       # Database Type, H2DB or MySQL
    75.       Type: 'H2DB'
    76.  
    77.       # Database Table
    78.       Table: 'iConomy'
    79.  
    80.       # Database URL without table at the end.
    81.       URL: 'mysql://localhost:3306'
    82.  
    83.       # Username / Password
    84.       # H2DB does not use this. MySQL Only.
    85.       Username: 'root'
    86.       Password: ''
    87.  
    88.       # Unused ATM.
    89.       All: true
     
  3. baserone
    Offline

    baserone User Użytkownik

    Wiadomości:
    26
    Polubienia:
    13
    Punkty:
    98
    Wpisujesz swoją baze danych.
     
Status tematu:
Brak możliwości dodawania odpowiedzi.