Help MySQL

Results 1 to 4 of 4
  1. #1
    Apprentice crismazo is offline
    MemberRank
    Jun 2009 Join Date
    12Posts

    Help MySQL

    hello friends I have a problem but I have a host 2005 is not msql mysql and want to know if anyone still retains the mysql db or someone tell me how to set the config.php to connect to the db on my pc ... bone from the web to the sql of my pc


  2. #2
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: help

    You cannot use MySQL for Gunz.

  3. #3
    Apprentice crismazo is offline
    MemberRank
    Jun 2009 Join Date
    12Posts

    Re: Help MySQL

    and I could give a config like this but with odbc connection


    <?
    @session_start();
    //MSSQL Server configuration
    $_MSSQL[Host] = "190.79.252.62\SQLEXPRESS";
    $_MSSQL[User] = "cristian";
    $_MSSQL[Pass] = "12";
    $_MSSQL[DBNa] = "GunzDB";
    $r = mssql_connect($_MSSQL[Host], $_MSSQL[User], $_MSSQL[Pass]) or die("Cant connect to database");
    mssql_select_db($_MSSQL[DBNa], $r);
    // Here you set the language for the panel
    // If you set this to english, the panel will try to load lang/english.php
    $_CONFIG[Language] = "english";
    // Gunz Database Configuration
    $_CONFIG[AccountTable] = "Account";
    $_CONFIG[LoginTable] = "Login";
    $_CONFIG[CharTable] = "Character";
    $_CONFIG[CItemTable] = "CharacterItem";
    $_CONFIG[AItemTable] = "AccountItem";
    $_CONFIG[ClanTable] = "Clan";
    $_CONFIG[ClanMembTable] = "ClanMember";
    $_CONFIG[ClanLogTable] = "ClanGameLog";
    // Plugins Configuration
    // To Disable, set the variable to 0
    // To Enable, set the variable to 1
    $_CONFIG[CountryBlock] = 0; // Add functions to Block / Unblock access to your GunZ Server
    //MySQL Server configuration
    $_MYSQL[Host] = "localhost";
    $_MYSQL[User] = "root";
    $_MYSQL[Pass] = "root";
    $_MYSQL[DBNa] = "forum";
    //Configuration
    $_CONFIG[NewsFID] = 2;
    $_CONFIG[EventsFID] = 0;
    $_CONFIG[vBulletinPrefix] = "";
    $_CONFIG[ForumURL] = "http://127.0.0.1:8080/upload/";
    //Offline page
    $_CONFIG[OfflinePage] = "";
    // Gunz Database Configuration
    $_CONFIG[LoginTable] = "Login";
    $_CONFIG[CharTable] = "Character";
    $_CONFIG[ClanTable] = "Clan";
    $_CONFIG[ClanmemberTable] = "ClanMember";
    $color[255] = array(255,153,51); // Administrator
    $color[254] = array(255,153,51); // Developer/Gamemaster
    $color[253] = array(255,255,255); // Banned
    $color[252] = array(255,153,51); // Hidden GM
    $color[2] = array(0,68,255); // User With Jjang
    $color[0] = array(255,255,255); // Normal User
    // Here you set the language for the panel
    // If you set this to english, the panel will try to load lang/english.php
    $_CONFIG[Language] = "english";
    // Gunz Database Configuration
    $_CONFIG[LoginTable] = "Login";
    $_CONFIG[CharTable] = "Character";
    $_CONFIG[ClanTable] = "Clan";
    $_CONFIG[ClanmemberTable] = "ClanMember";
    ?>

  4. #4
    Account Upgraded | Title Enabled! fuxpro321 is offline
    MemberRank
    Jun 2010 Join Date
    266Posts

    Re: help

    Quote Originally Posted by phoenix_147 View Post
    You cannot use MySQL for Gunz.
    it dose work, just that it sucks



Advertisement