xyn Posted November 13, 2006 Share Posted November 13, 2006 hey,I've got a WARN system, which i'm using AJAX toconstantly check alerts.php page to see if a userhas any alerts...[color=purple]I've been getting these problems;Warning: mysql_query() [function.mysql-query]: Access denied for user 'eumod'@'localhost' (using password: NO) in /home/eumod/public_html/en/alert.php on line 4Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/eumod/public_html/en/alert.php on line 4Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/eumod/public_html/en/alert.php on line 5[/color]1. My sql connections are correct, as they work everywhere else.2. this code in alerts .php worked CORRECTLY before i moved it to alert.php3. since this AJAX has been applied this error has occoured...Any way past them? Link to comment https://forums.phpfreaks.com/topic/27130-wierd-problem-s/ Share on other sites More sharing options...
Zane Posted November 13, 2006 Share Posted November 13, 2006 [quote]1. My sql connections are correct, as they work [size=12pt]everywhere else.[/size][/quote]by everywhere else do you mean another computer.If you're trying to log into your MySQL server from somewhere elseyou must make sure that that MySQL server allows that IP, or at least the range or domain.If that's not the case double check your connection anyway, cuz it does say you're not issueing a password[code]using password: NO[/code] Link to comment https://forums.phpfreaks.com/topic/27130-wierd-problem-s/#findComment-124003 Share on other sites More sharing options...
xyn Posted November 13, 2006 Author Share Posted November 13, 2006 well its within the same dir. on same server :S+ the password supplied is correct. Link to comment https://forums.phpfreaks.com/topic/27130-wierd-problem-s/#findComment-124023 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.