Web statistic Allstats & GHOST++

Discussion in 'Masalah Teknik dan Keamanan' started by RioteR, 2 Aug 2010.

Thread Status:
Not open for further replies.
  1. RioteR

    RioteR New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Salam kenal, saya member baru disini, tolong dibantu ya :)

    Saya sedang utak-atik program Bot DotA (Bot untuk create room, GHost++) & Web statistic (Allstats), mereka running smoothly jika jalan di localhost, saya menggunakan Web Developer Controller (WAMP). Saya online-kan melalui IP public saya tidak ada masalah (tapi kalo laptop saya offline jelas tidak bisa diakses)

    Web saya upload di webhosting (gratisan) : http://dotastatistic.000space.com/ , nah di cpanel itu kan ada hostname, mysql user, mqsql password dll.

    confignya web statisticnya :
    Code:
    /MySQL Database Connection information (Optional):
    //Must correspond to the settings in your MySQL Database.
    $host = 'sql103.000space.com';
    $username = 'space_*****';
    $password = '*****';
    $databasename = 'space_*****';
    config di ghost :
    ### mysql database configuration
    ### this is only used if your database type is MySQL

    Code:
    db_mysql_server = sql103.000space.com
    db_mysql_database = space_*****
    db_mysql_user = space_*****
    db_mysql_password = *****
    db_mysql_port = 3306
    Jika pakai database online, Ghost++ tiak mau running, error : cant connect mysql database

    Quote dari tutorial :
    Ini permasalahannya saya lihat access database di remote computer, padahal di web hosting kan tidak ada IP nya, saya coba ping host nya malah RTO, CMIIW :)

    Jadi bagaimana mengatasi masalah ini?
     
  2. rendy

    rendy Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,792
    Likes Received:
    240
    Trophy Points:
    63
    coba ganti

    db_mysql_server = sql103.000space.com


    ke

    db_mysql_server = localhost
     
  3. RioteR

    RioteR New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    db_mysql_server = localhost, ghostnya jalan, tapi web statisticnya tidak

    tambahan
    webstatistic (gw upload juga 000webhost.com)
    eror :
    misal db_mysql_server = localhost, lha si webstatistic apa mau update otomatis mengingat web & database berada di server web hosting, eror kaya yang diatas.

    masih bingung
     
  4. rendy

    rendy Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,792
    Likes Received:
    240
    Trophy Points:
    63
    apakah user a1596211_ghost sudah diberikan permission ke database bersangkutan?
     
  5. RioteR

    RioteR New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Saya share saja :o

    Pada web statistic saya http://statsdota.herobo.com/

    config.php

    » MySQL Database » MySQL User » MySQL Host
    a1596211_bot a1596211_ghost mysql16.000webhost.com

    ----------------------------------------------------------------------------------
    Pada aplikasi Ghost++

    ghost.cfg

    eror yg sebelumya td gara2 di config.php di web hosting saya ganti ke localhost :p


    Jadi gini, user 'a1596211_ghost' saya create di web hosting beserta passwordnya, lalu saya create database 'a1596211_bot' dengan mengimport database 'bot' yang ada di localhost.

    bahkan saya create ulang database di localhost dengan nama 'a1596211_bot' dengan user 'a1596211_ghost' dengan privleges = root , lalu saya upload ke web hosting dengan drop table yang ada sebelumnya

    Mohon pencerahan para suhu :(
     
  6. rendy

    rendy Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,792
    Likes Received:
    240
    Trophy Points:
    63
    di konfigurasi database server udah di set prev = all belum? si user ghost itu?
    baru di mention localhost saja ya yang di set prev nya
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...