Page 1 of 1
Need a php pro
Posted: Thu Feb 27, 2003 2:03 am
by mrjes
Im getting this warning when trying to access this page
What does it mean ?How can I fix it?
Warning: Access denied for user: 'breathco@localhost' (Using password: YES) in /usr/local/4admin/apache/vhosts/breathtakingescorts.com/httpdocs/new/Connections/breath.php on line 9
Access denied for user: 'breathco@localhost' (Using password: YES)
link below
http://www.breathtakingescorts.com/new/diary.php
Posted: Thu Feb 27, 2003 2:17 am
by volka
probably you've tried to connect to a mysql-database server without proper credentials.
Take a look at
http://www.php.net/manual/en/function.mysql-connect.php and check the user/password combination. mysql- and system-accounts may differ.
btw: the host couldn't be resolved and from the name it might have been I wouldn't like it

Posted: Thu Feb 27, 2003 2:33 am
by dbcooper
volka wrote:btw: the host couldn't be resolved and from the name it might have been I wouldn't like it

FWIW,
http://www.breathtakingescorts.com resolves to 66.118.156.82 for me, but I didn't visit the site.
-db
Posted: Fri Feb 28, 2003 2:11 am
by twigletmac
I've deleted the other identical post you made on this topic, you have already been offered some suggestions here - have you done as volka suggested.
Please do not start a new thread on the same problem - keep all you issues with this problem to this thread, I will delete additional threads.
Mac
im very lost
Posted: Sun Mar 02, 2003 12:36 am
by mrjes
Please help clearify your suggestions this is all very new to me I apoligize for the content on the site I have nothing to do with it Im just helping out a friend.
How do I check proper credentials?
If its trying to connect to a mysql-database server without
I looked at
http://www.php.net/manual/en/function.mysql-connect.php and checked Im not sure how or were to check the user/password combination. To see if mysql- and system-accounts may differ.
What do you mean by
btw: the host couldn't be resolved and from the name it might have been I wouldn't like it ?????

Re: im very lost
Posted: Sun Mar 02, 2003 4:56 am
by twigletmac
mrjes wrote:What do you mean by
btw: the host couldn't be resolved and from the name it might have been I wouldn't like it ?????

Some people access this forum from work and many employers would consider their employees accessing a site about escorts and massage services to be a not so good thing.
Mac
Posted: Sun Mar 02, 2003 7:23 am
by volka
mysql maintains its own so called
privilege system. It is contained within the database
mysql of a mysql-server.
If it is a shared server (just another accoount e.g. for a monthly fee) check the provider's instructions; they should contain a user/pass for the database.
Otherwise take a look at
http://www.mysql.com/doc/en/Installing.html and
http://www.mysql.com/doc/en/Default_privileges.html (careful. Some parts already might have been done by your distribution)
http://www.mysql.com/doc/en/Privileges.html
http://www.mysql.com/doc/en/GRANT.html