Jump to content

Wierd problem :S


xyn

Recommended Posts

hey,
I've got a WARN system, which i'm using AJAX to
constantly check alerts.php page to see if a user
has 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 4

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/eumod/public_html/en/alert.php on line 4

Warning: 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.php
3. 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

[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 else
you 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.