Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 4th, 2004, 01:18 PM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access Denied For User -Chapter 9

When I open charlist.php I get the following error.

Warning: mysql_connect(): Access denied for user: 'buzzly_comic@localhost' (Using password: YES) in C:\Program Files\Apache Group\Apache2\test\conn.php on line 7
Could not connect to the database; Access denied for user: 'buzzly_comic@localhost' (Using password: YES)

What should I do to get past this error? Thanks!

 
Old September 4th, 2004, 02:09 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Not sure if this will work with what the book has had you set up, but try setting a password for root@localhost and use that MySQL account for PHP.

No guarantees. Maybe the author will have something to say....

Snib

<><
 
Old September 5th, 2004, 05:29 AM
Registered User
 
Join Date: Sep 2004
Location: Hooghalen, Drenthe, Netherlands.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check in the WinMySQLAdmin->my.ini Setup (C:\apache\mysql\bin) if the user and password are linked to the database, otherwise create another user without the _ symbol loke(user= me password= me)

 
Old September 22nd, 2004, 06:29 PM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got this errror message just yesterday that is the same as above which I typed in. My message board was working fine all along. My comic book database was also working too. Then all of a sudden my computer decides not to make it work and instead give me the error message.

I could not find my.ini in the directory that you said but in another directory.

I am a little confused as to what next steps I shoudl perform. Could you list a sequence of steps so that I know where I need to go inorder to achieve my goal of creating the new user. I am a little new to this procedure.

Thanks.
AMP_Engineer

 
Old September 22nd, 2004, 06:33 PM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Separate to my above request I wanted to provide further information. If you could still list the steps I would greately appreciate it.

I was able to navigate to WinMySqlAdmin and click on the my.ini setup tab.

The below two lines is what it lists.

[WinMySQLAdmin]
Server=C:/mysql/bin/mysqld-nt.exe

What am I supposed to do from here. Thanks alot.



 
Old September 25th, 2004, 02:18 AM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I changed the password in conn.php and then I applied the same password in phpmyadmin and it worked.

Thanks for the help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 3: access denied tasios BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 February 24th, 2008 12:02 PM
phpMyAdmin - #1044 - Access denied for user crmpicco PHP Databases 0 October 21st, 2007 09:32 AM
access denied for new user, Chapter 3 kanjigirl BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 5 February 19th, 2006 05:08 PM
1044: Access denied for user '@localhost ... ajutla PHP Databases 3 April 16th, 2005 03:27 PM
Access denied for user wisconsin MySQL 13 June 17th, 2004 08:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.