EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Misc::Off Topic (https://www.eqemulator.org/forums/forumdisplay.php?f=595)
-   -   MYSQL?! (https://www.eqemulator.org/forums/showthread.php?t=17209)

Spike 11-30-2004 03:29 PM

MYSQL?!
 
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?

sdabbs65 12-01-2004 01:34 AM

Re: MYSQL?!
 
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.

Spike 12-01-2004 08:52 AM

#1044 - Access denied for user: 'placida@localhost' to database 'localhost'


All times are GMT -4. The time now is 09:28 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.