Wrox Programmer Forums
|
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 August 6th, 2004, 06:24 AM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Configuring MySQL - Help Please

I am having difficulty configuring MySQL (page 23) I have installed and tested Apache 2.0.5 / php 4.3.8.8 / mysql 4.0 and all seem to work ok until I follow the instructions on page 23:

c:\>c:\mysql\bin\mysql mysql

this is what I get:

C:\Documents and Settings\dean>c:\mysql\bin\mysql mysql
ERROR 1044: Access denied for user: '@localhost' to database 'mysql'

Any ideas please ?

(Running Windows XP btw)



D r a c o
 
Old August 6th, 2004, 09:10 PM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ah I found someone with the same problem on this thread: http://p2p.wrox.com/topic.asp?TOPIC_ID=14743

What Elizabeth replied worked fine :x Thx for that. Just incase anyone else has the same problem I'll paste her post here:

At the C:\> prompt, type:

c:\> c:\mysql\bin\mysql mysql -u root

(This is a change in the newer versions of mysql.) Now you can continue and Delete the default users, and set the pass for the root. Another change you will encounter is in #3 after deleting the user, you now need to type:
c:\> c:\mysql\bin\mysqladmin -u root reload

Again, this is a change for the newer versions of mysql and will be addressed in the second edition of the book.

Hope that helps.

-Elizabeth Naramore




D r a c o





Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Derby eniowo Java Databases 0 November 29th, 2007 07:34 AM
Configuring your MySQL Insatllation ed123 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 September 8th, 2007 08:00 AM
Configuring error js_newbie Linux 0 July 30th, 2007 10:52 AM
Configuring MySQL for Windows glaux MySQL 1 April 18th, 2005 11:21 AM
Configuring MSMQ mchu7aa3 VB Components 0 January 26th, 2004 01:17 PM





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