Hello,
i´m trying to connect to mysql server from php but i can´t do it.
i created the databases successfully!!

i put :

<?php
    $link = mysql_connect(host, user, password);
?>

Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (111) in
/var/www/html/juan/index.php

what happend? all looks all right

if you reply this message please insert my address.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to