03272005 1457 GMT-6

I have been working on a db and form that is hosted at Yahoo. I have had 
massive troubles getting anything to work there.
At the moment I keep getting these errors.

This is how I connect to a database usually:
   $db_name="name";
    $connection=mysql_connect("localhost", "user", "pass");
    $db= mysql_select_db($db_name, $connection);

But apparently I have to do it this way at yahoo:
    $connection=mysql_connect("mysql", "user", "pass");
    mysql_select_db("name", $connection);

But even making these changes its a hit and miss situation.

Now I have searched on the first line of code on google and found LOTS 
of people who have had this same problem - though no answers are forth 
coming. Anyone on this list have any ideas?

Wade

[27-Mar-2005 20:11:55] PHP Warning:  mysql_connect(): Can't connect to local 
MySQL server through socket '/tmp/mysql.sock' (46) in /html/login.php on line 
123
[27-Mar-2005 20:11:55] PHP Warning:  mysql_select_db(): supplied argument is 
not a valid MySQL-Link resource in /html/login.php on line 124
[27-Mar-2005 20:11:55] PHP Warning:  mysql_query(): supplied argument is not a 
valid MySQL-Link resource in /html/login.php on line 132
[27-Mar-2005 20:14:15] PHP Warning:  mysql_connect(): Can't connect to local 
MySQL server through socket '/tmp/mysql.sock' (46) in /html/login.php on line 
123
[27-Mar-2005 20:14:15] PHP Warning:  mysql_select_db(): supplied argument is 
not a valid MySQL-Link resource in /html/login.php on line 124
[27-Mar-2005 20:14:15] PHP Warning:  mysql_query(): supplied argument is not a 
valid MySQL-Link resource in /html/login.php on line 132
[27-Mar-2005 20:29:44] PHP Warning:  mysql_connect(): Can't connect to local 
MySQL server through socket '/tmp/mysql.sock' (46) in /html/login.php on line 
123
[27-Mar-2005 20:29:44] PHP Warning:  mysql_select_db(): supplied argument is 
not a valid MySQL-Link resource in /html/login.php on line 124
[27-Mar-2005 20:29:44] PHP Warning:  mysql_query(): supplied argument is not a 
valid MySQL-Link resource in /html/login.php on line 132
%% [Sun Mar 27 12:50:46 2005] GET /test/login.php HTTP/1.1
%% 500 /z/dr/a_cats_desire/us1/test/login.php
%request
Accept: 
application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
Host: www.acatsdesire.com
Keep-Alive: 300
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) 
Gecko/20040803
%response
%stderr
Invalid owner:/test/login.php




[Non-text portions of this message have been removed]



The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to