Quote:
Originally Posted by Spike
I have this error when trying to run the script that pulls the news from a certain forum onto the main page.
Code:
Warning: mysql_query(): Access denied for user: 'nobody@localhost' (Using password: NO) in /home2/placida/public_html/linkups/forums/news.php on line 119
Warning: mysql_query(): A link to the server could not be established in /home2/placida/public_html/linkups/forums/news.php on line 119
ERROR:
Access denied for user: 'nobody@localhost' (Using password: NO)
How would I allow access to the localhost thing?
|
this might work <shrug>.
type mysql -u root
then...
GRANT ALL PRIVILEGES ON localhost.*TO nobody@localhost IDENTIFIED BY 'password';
ALSO you might want to check php.ini to make sure you have the passwords installed correctly some new readers require then if you server does... this is all just guessing without looking at the scripts but gives you something to think about.