Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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!

Reply With Quote
  #2 (permalink)  
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

<><
Reply With Quote
  #3 (permalink)  
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)

Reply With Quote
  #4 (permalink)  
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

Reply With Quote
  #5 (permalink)  
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.



Reply With Quote
  #6 (permalink)  
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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:06 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.