Hello & Welcome to our community. Is this your first visit? Register
Results 1 to 4 of 4
  1. #1
    Exploring The World LabTech's Avatar

    Rank
    True Member
    Join Date
    Apr 2008
    Location
    at Home
    Posts
    817
    Likes (Received)
    61

    Please Help me i install izariam of ZZJohns Files this error comes out

    Help Error on installing Ikariam Private Server

    Warning: mysql_connect(): Host 'localhost' is not allowed to connect to this MySQL server in C:\xampp\htdocs\install\database.php on line 14
    Host 'localhost' is not allowed to connect to this MySQL server

    what is the probem here

    <?php
    /*
    * Project: iZariam
    * File: install/database.php
    * Edited: 07/03/2012
    * By: ZZJHONS
    * Info: [Only registered and activated users can see links. ]
    */
    include 'include/db.php';

    class MYSQL_DB {
    var $connection;
    function MYSQL_DB(){
    $this->connection = mysql_connect(HOST, USER, PASS) or die(mysql_error());
    mysql_select_db(NAME, $this->connection) or die(mysql_error());
    }
    function mysql_exec_batch ($p_query, $p_transaction_safe = true){
    if($p_transaction_safe){
    $p_query = 'START TRANSACTION;'.$p_query.'; COMMIT;';
    };
    $query_split = preg_split ("/[;]+/", $p_query);
    foreach($query_split as $command_line){
    $command_line = trim($command_line);
    if($command_line != ''){
    $query_result = mysql_query($command_line);
    if($query_result == 0){
    break;
    };
    };
    };
    return $query_result;
    }
    function query($query){
    return mysql_query($query, $this->connection);
    }
    };
    $database = new MYSQL_DB;
    ?>
    IT`S NICE TO BE BACK TO THE RAN ONLINE SECTION
    TRIAL AND ERROR...BUT KEEP MOVING FORWARD


  2. #2
    Newbie

    Rank
    Member
    Join Date
    Jun 2013
    Location
    Hong Kong, Hong
    Posts
    3
    Likes (Received)
    1

    Re: Please Help me i install izariam of ZZJohns Files this error comes out

    I used to run the server phpstudy

    There is no change config.php?

  3. #3
    Exploring The World LabTech's Avatar

    Rank
    True Member
    Join Date
    Apr 2008
    Location
    at Home
    Posts
    817
    Likes (Received)
    61

    Re: Please Help me i install izariam of ZZJohns Files this error comes out

    what should i change in config?...

    want to play it in offline mod but it keeps on popping with this error

    Access denied for user ''@'localhost' to database 'ikariam ph'

    i didn`t set any user and pass for the mysql when i install it

    i am using xampp as a offline server but i can`t set up it...please need help...

    i am new to this thing...

    Quote Originally Posted by tvber View Post
    I used to run the server phpstudy

    There is no change config.php?
    dude can you share me your server files of ikariam...please...
    IT`S NICE TO BE BACK TO THE RAN ONLINE SECTION
    TRIAL AND ERROR...BUT KEEP MOVING FORWARD


  4. #4
    Exploring The World LabTech's Avatar

    Rank
    True Member
    Join Date
    Apr 2008
    Location
    at Home
    Posts
    817
    Likes (Received)
    61

    Re: Please Help me i install izariam of ZZJohns Files this error comes out

    please someone help me with my problem
    IT`S NICE TO BE BACK TO THE RAN ONLINE SECTION
    TRIAL AND ERROR...BUT KEEP MOVING FORWARD


 

 

Bookmarks

Posting Permissions

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

HostKey
Sponsored by HostKey , secured by Incapsula and mods by DBTech.
All times are GMT +1. The time now is 10:33 AM.
Powered by vBulletin® Copyright , Jelsoft Enterprises Ltd.