|
|
 |
Re: FN-FORUM MYsql weirdness
date posted 24th July 2001 15:27
> Warning: Access denied for user: [EMAIL REMOVED] (Using password: NO) in
> include/db_mysql.php on line 73
> Database error: pconnect(localhost, root, $Password) failed.
> MySQL Error: ()
> Session halted.
I think it means you have to login using you password and username aswell to
connect to the database. since you havnt it's saying > Warning: Access
denied for user: [EMAIL REMOVED] (Using password: NO).
try using the syntax :-
$link = mysql_connect( "$hostname:$port","$userid","$userpass" );
$link = what you want to call the connection
$hostname = the server you login to
$port = default is 3306
$userid = your login username or database username (depends on your host)
$userpass = you login password or database password (again depends on your
host)
Hope That Helped
--
William Eborall
www.cic-tfc.f2s.com
http://dwarfer.freelancers.net
|
 |
|