note 16555 rejected from features.connection-handling by jimw
| From: | jimw@php.net | Date: | Sun, 04 Nov 2001 05:53:08 +0000 |
| Subject: | note 16555 rejected from features.connection-handling by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20413@lists.php.net to get a copy of this message | ||
ketil@forsvun.net
21-Oct-2001 07:25
Hi!
I having problem connect to my database, i use $MySQLLink = mysql_pconnect("localhost",
"myUser", "myPasssword");
but get error message = "accsess denied for user ketil@forsvun.net", i replace myuser with
my username an replace the local host with www.forsvun.net and change the passwd. My passwd works
fine with an SSH client...so my passwd i correct...what to do? Someone give me a hand?? pleace??
From
n000b
You might try following this:
$MySQLLink = mysql_pconnect('localhost', 'myUser', 'myPasssword');
with:
mysql_select_db('yourdatabase', $MySQLLink);
and leave 'localhost' as 'localhost' and not your url (www.forsvun.net).
Good luck
David
AIMS, LLC