Ik heb een Ubuntu server 8.04 LTS met LAMP installatie. Ik ben bezig met een cursus Using PHP & MySQL.
MySQL werkt goed via een command scherm en PHPMyAdmin, PHP werkt ook goed, maar nu moet ik PHP naar MySQL connecten met het commando:
<?php
$link = mysqli_connect('86.80.118.169', 'root', 'xxxxxxx');
?>
Ik krijg de volgende boodschap:
---------------------------------------------------------------------
Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2003): Can't connect to MySQL server on '86.80.118.169' (111) in /var/www/riechelmann.tv/connect/index.php on line 9
-----------------------------------------------------------------------
De [function.mysqli-connect]: geeft het volgende aan:
------------------------------------------------------------------------
Not Found
The requested URL /riechelmann.tv/connect/function.mysqli-connect was not found on this server.
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2 ubuntu5 with Suhosin-Patch Server at 86.80.118.169 Port 80
------------------------------------------------------------------------
Wat doe ik fout?