linux bug

Im thinking this may be a bug on my end but im not sure. Okay when i login into the server sql with bearsql it logs in fine but when i try to connect to a certian data base it gives me this

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/bearsql/db/db_mysql.php on line 179

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /var/www/bearsql/db/db_mysql.php on line 179

Is it just that one database

Is it just that one database causing you issues?
Sounds like the user you logged in as hasn't access needed to use that database.

Try changing the users permissions, or connect as another user.

My apologies for the delay

So far no matter what I log into it with when I try to access any database that error shows up.

You need to give me as much

You need to give me as much information as you can so I can look into it.
Thinks that will help:

  • What browser and OS are you using.
  • Do you have cookies enabled.
  • Is the database on the same server.
  • Are PHP sessions enabled
  • Can you access the database in other ways such as the command line with the same username.

Wow been awhile sence i was on here

I found the error it was within the mysql settings, it would allow login for the user but the user wasnt able to access the database.

Thanks

Thanks for letting us know.