Warning: mysqli_connect (): (HY000 / 2005): Error connecting php

0

I have this error for 2 days, here is my connection code:

$dbc = mysqli_connect('fdb17.atspace.me
','users','senha','bd','33:06') or die ("Erro connecting to mySQL server");




        //mysqli_close($dbc);

        $query = 'SELECT * FROM tips';
        $result = mysqli_query($dbc,$query);

give this error

  

Warning: mysqli_connect (): Unknown MySQL server host 'fdb17.atspace.me' (-2) in /srv/disk11/2446146/www/tipsbet365.atspace.cc/index.php on line 54   Error connecting to mySQL server

    
asked by anonymous 03.05.2018 / 00:14

0 answers