Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
| Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP 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 3rd, 2004, 10:09 PM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 9 - Apache, PHP and Mysql Development

I am trying to run charlist.php in my browser and I get the following message.

The source code is from chapter 9 (Building Databases) of PHP Apache and MySQL web development beginning level.

I get this error message.

--------------------------------------------------------------------
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)

Anyone know how to fix this problem in the code or my database.

Thanks


 
Old September 25th, 2004, 11:27 AM
Authorized User
 
Join Date: Aug 2003
Location: Bay City, mi, USA.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dkittell Send a message via AIM to dkittell Send a message via Yahoo to dkittell
Default

In most cases this specific error is easy to remedy, if you go to line 7 of the file C:\Program Files\Apache Group\Apache2\test\conn.php you should see on that line or by it a variable or the db connection that needs to have the correct password put in.

---
David Kittell




Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning PHP, Apache, MySQL® Web Development beolay2k BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 July 29th, 2008 07:32 PM
Beginning PHP, Apache, MySQL Web Development rich_m BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 January 7th, 2007 01:16 PM
Beg apache, php, MYSQL need some help dreadhead BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 December 20th, 2004 11:37 PM
I need help installing php apache mysql cardme42 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 5 September 13th, 2004 01:10 PM
Does "Beginning PHP, MySQL and Apache" Exist? pow1983 All Other Wrox Books 12 June 22nd, 2003 06:43 PM





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