Results 1 to 5 of 5
  1. #1
    Trol553's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    5,322
    Reputation
    453
    Thanks
    1,717
    My Mood
    Aggressive

    I am doing some MYSQL & PHP & HTML-ish stuff

    It gives me this error :

    MySQL Connection Error: php_network_getaddresses: getaddrinfo failed: Name or service not known

    What I did ?

    I bought domain + hosting from slovak provider.
    Welp that provider gave me FTP + MYSQL details.

    I uploaded stuff into FTP to get the web running , I setup my MYSQL and then I added details to MYSQL config , still not running.
    I am lost , tried to google stuff and everything. Is there some MYSQL & PHP & HTML-ish Ninja ?

  2. #2
    arunforce's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    A place for amigos
    Posts
    24,704
    Reputation
    4747
    Thanks
    12,562
    My Mood
    Yeehaw
    Sounds like your DNS isn't working. Switch to another DNS.



    BRING BACK BT, BRING BACK SAGA, BRING BACK VF, BRING BACK MPGHCRAFT, BRING BACK HABAMON


  3. #3
    Trol553's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    5,322
    Reputation
    453
    Thanks
    1,717
    My Mood
    Aggressive
    Quote Originally Posted by arunforce View Post
    Sounds like your DNS isn't working. Switch to another DNS.
    Well , that provided from who I bought that web domain with hosting also comes with DNS.

    And it seems working. I am not sure if I added good details into mysql but I can login into MYSQL with same details so that should not be problem also I am connecting from localhost so that wont be problem , too.
    Last edited by Trol553; 09-18-2017 at 10:07 AM.

  4. #4
    Hackinet's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    525
    Reputation
    260
    Thanks
    1,024
    Quote Originally Posted by Trol553 View Post
    It gives me this error :

    MySQL Connection Error: php_network_getaddresses: getaddrinfo failed: Name or service not known

    What I did ?

    I bought domain + hosting from slovak provider.
    Welp that provider gave me FTP + MYSQL details.

    I uploaded stuff into FTP to get the web running , I setup my MYSQL and then I added details to MYSQL config , still not running.
    I am lost , tried to google stuff and everything. Is there some MYSQL & PHP & HTML-ish Ninja ?
    Seems like you have put a url path where only the host url should be.

  5. #5
    Trol553's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    5,322
    Reputation
    453
    Thanks
    1,717
    My Mood
    Aggressive
    Quote Originally Posted by Hackinet View Post


    Seems like you have put a url path where only the host url should be.
    I already solved it it was wrong "$servername"

    /thread

Similar Threads

  1. Was at the gym doing some late night cardio
    By Attiusca in forum General
    Replies: 18
    Last Post: 04-13-2012, 01:33 AM
  2. Doing some GP Gifting
    By Ed in forum Combat Arms Discussions
    Replies: 27
    Last Post: 01-24-2012, 09:10 PM
  3. Dave's doing some changes...
    By Jabuuty671 in forum General
    Replies: 42
    Last Post: 04-30-2011, 11:52 AM
  4. I was doing some modding and now it Ca says "sever down"
    By grindking69 in forum Combat Arms Help
    Replies: 5
    Last Post: 08-20-2010, 11:39 PM
  5. am i doing some thing wrong
    By run2000 in forum Combat Arms Help
    Replies: 6
    Last Post: 06-04-2010, 07:48 AM