Wrox Programmer Forums
|
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 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 March 14th, 2007, 04:17 AM
Registered User
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter 3

Hi I'am new to this
Can not connect php to mySql
running windows xp professional
installed apache, Php and MySql
Completed chapter 2 OK
MySql works from command line and have created a test data base OK
Trying createmovie.php page 95 chapter 3
Nothing happens only blank screen, code correct as I have now copied it from web site
I have been trying for 2 weeks. I think it is a problem with the config of PHP/MySql as its not to clear in the book. It referes to my.cnf should this be my.ini ?
many thanks

 
Old May 29th, 2007, 05:03 PM
Registered User
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you work this out? I've had what seems to be the same problem. I've created users from the command line and logged in as them, but when I try from the createmovie.php file I get the error message "Access denied for user 'bp5am'@'localhost' to database 'moviesite'" despite having set the privileges as in the book on page 24. I've cured that now, but got a php error.

What I did was redo the user by including CREATE in the GRANT statement. I think this is new as of php 5, so if that's what you're running it might be worth a try.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
chapter 7 - chapter 11 pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 3 January 6th, 2008 11:40 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





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