[help] connect to mysql (in my pc ) from a nother WebSite

Results 1 to 4 of 4
  1. #1
    Member amazed is offline
    MemberRank
    Jan 2009 Join Date
    52Posts

    [help] connect to mysql (in my pc ) from a nother WebSite

    i get free doman and i Put Site file in it
    and i want to connect to the Database in my PC

    i Change HOST ip from 127.0.0.1 to my pc Real IP and can't Connect to Database

    Can you Help me PLZ

    this what i Do
    <?php
    $db_host = "127.0.0.1"; <<< i Change This IP With My Real IP >>>
    $db_user = "sa";
    $db_pass = "M1a2S3r4eg";
    $auth_db = "kal_auth";
    $data_db = "kal_db";
    $web_db = "kal_web";
    $page_title = "KalOnline Web Client";
    $port = "30001";
    $dns = "127.0.0.1";


    ?>


  2. #2
    (293692665344 >> 8) Darn is offline
    MemberRank
    Mar 2009 Join Date
    GermanyLocation
    429Posts

    Re: [help] connect to mysql (in my pc ) from a nother WebSite

    Quote Originally Posted by amazed View Post
    i get free doman and i Put Site file in it
    and i want to connect to the Database in my PC

    i Change HOST ip from 127.0.0.1 to my pc Real IP and can't Connect to Database

    Can you Help me PLZ

    this what i Do
    <?php
    $db_host = "127.0.0.1"; <<< i Change This IP With My Real IP >>>
    $db_user = "sa";
    $db_pass = "M1a2S3r4eg";
    $auth_db = "kal_auth";
    $data_db = "kal_db";
    $web_db = "kal_web";
    $page_title = "KalOnline Web Client";
    $port = "30001";
    $dns = "127.0.0.1";


    ?>
    use xampp ;)

  3. #3
    Apprentice Maesi is offline
    MemberRank
    May 2009 Join Date
    9Posts

    Re: [help] connect to mysql (in my pc ) from a nother WebSite

    maybe the dns^^

  4. #4
    Alpha Member Zen is offline
    MemberRank
    Dec 2006 Join Date
    MelbourneLocation
    2,291Posts

    Re: [help] connect to mysql (in my pc ) from a nother WebSite

    allow remote connections in MSSQL and add the mssql port to your ip (and forward that port ofcourse)



Advertisement