CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 problem with php and mysql

Print topic Send  topic

Author Message
Alejandro P.
Posted: 07/09/2002, 9:48 AM

Dear Friends-.

I'm using apache & mysql for the example of CC 2.0 of the classified
system, but gget this error.


Warning: Access denied for user: 'cce@localhost' (Using password: YES) in
c:\apache\htdocs\classifieds\db_mysql.inc on line 72
Database error: connect(localhost, cce, $Password) failed.
MySQL Error: ()
Session halted.


anyone can help??


Regards

Alejandro P.
Caracas Venezuela

Chris Seymour
Posted: 07/09/2002, 11:28 AM

Hi Alejandro,
This problem is caused when the user (cce@localhost) has not been setup in
mySQL with access to the database you are trying to reach. You will need
to give that user access to whichever database you are try to connect to.

Hope that helps.

Cheers.


>
> Warning: Access denied for user: 'cce@localhost' (Using password: YES)
> in
>c:\apache\htdocs\classifieds\db_mysql.inc on line 72
> Database error: connect(localhost, cce, $Password) failed.
>MySQL Error: ()
>Session halted.
>
>
Alejandro P.
Posted: 07/09/2002, 12:07 PM

Dear Friend-.

I'm afraid this didn't help me a lot, I still get the error:

Warning: Access denied for user: 'cce@localhost' (Using password: YES) in
c:\apache\htdocs\classifieds\db_mysql.inc on line 72
Database error: connect(localhost, cce, $Password) failed.
MySQL Error: ()
Session halted.

If you can suggest something else would be appreciated

Alejandro


"Chris Seymour" <cseymour@seyware.com> escribió en el mensaje
news:924693BA3cseymourseywarecom@66.180.229.147...
> Hi Alejandro,
> This problem is caused when the user (cce@localhost) has not been setup in
> mySQL with access to the database you are trying to reach. You will need
> to give that user access to whichever database you are try to connect to.
>
> Hope that helps.
>
> Cheers.
>
>
> >
> > Warning: Access denied for user: 'cce@localhost' (Using password: YES)
> > in
> >c:\apache\htdocs\classifieds\db_mysql.inc on line 72
> > Database error: connect(localhost, cce, $Password) failed.
> >MySQL Error: ()
> >Session halted.
> >
> >

guest
Posted: 07/09/2002, 12:56 PM

Try this link for solving permission problems with mysql.
http://www.mysql.com/doc/A/c/Access_denied.html

To test use enter at shell prompt
"Alejandro P." <info@analema.com> wrote in message
news:agf43o$bhu$1@news.codecharge.com...
> Dear Friends-.
>
> I'm using apache & mysql for the example of CC 2.0 of the classified
> system, but gget this error.
>
>
> Warning: Access denied for user: 'cce@localhost' (Using password: YES)
in
> c:\apache\htdocs\classifieds\db_mysql.inc on line 72
> Database error: connect(localhost, cce, $Password) failed.
> MySQL Error: ()
> Session halted.
>
>
> anyone can help??
>
>
> Regards
>
> Alejandro P.
> Caracas Venezuela
>
>

guest
Posted: 07/09/2002, 1:04 PM

sorry, I sent message prematurely. At shell prompt type
shell> mysql -u cce -p databasename
mysql should prompt you for password. enter the password and see if mysql
lets you login
to the database (mysql> prompt will be displayed). If not follow
troubleshooting procedures in URL.


<nospam_dsafar@hotmail.com> wrote in message
news:agff53$vnu$1@news.codecharge.com...
> Try this link for solving permission problems with mysql.
> http://www.mysql.com/doc/A/c/Access_denied.html
>
> To test use enter at shell prompt
> "Alejandro P." <info@analema.com> wrote in message
>news:agf43o$bhu$1@news.codecharge.com...
> > Dear Friends-.
> >
> > I'm using apache & mysql for the example of CC 2.0 of the classified
> > system, but gget this error.
> >
> >
> > Warning: Access denied for user: 'cce@localhost' (Using password: YES)
> in
> > c:\apache\htdocs\classifieds\db_mysql.inc on line 72
> > Database error: connect(localhost, cce, $Password) failed.
> > MySQL Error: ()
> > Session halted.
> >
> >
> > anyone can help??
> >
> >
> > Regards
> >
> > Alejandro P.
> > Caracas Venezuela
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.