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 October 29th, 2004, 03:09 PM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting MySQL Permissions, Windows XP

Certainly a novice question:

P. 23, 2. of Beginning, PHP, Apache, MySQL states "by default, MYSQL on Windows sets up all users with all privileges."

I installed MySQL 4.0.22 on Windows XP Home, SP1 (NOT SP2, yet) in the default directory, c:\mysql. The installation seemed to work, but in following the tests starting on p., 23 I get access denied errors. These persist even if I turn off Zone Alarm as the session below shows:

The mysql.com site and online manual devote lot's of space to this without telling one what to do.

How do I gain access privileges?

Tom
.................................

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>c:\mysql\bin\mysql test
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.0.22-debug

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> exit
Bye

C:\>c:\mysql\bin\mysqladmin -u root shutdown

C:\>NET START MySQL
The MySQL service is starting.
The MySQL service was started successfully.

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


C:\>c:\mysql\bin\mysqladmin reload
c:\mysql\bin\mysqladmin: reload failed; error: 'Access denied. You need the
RELOAD privilege for this operation'
............................
 
Old November 2nd, 2004, 05:09 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try accesing the db as root

Christian





Similar Threads
Thread Thread Starter Forum Replies Last Post
XP Home Edition permissions sevans ASP.NET 2.0 Basics 2 February 25th, 2007 09:38 PM
Setting Folder Permissions lewdogg Classic ASP Components 0 June 28th, 2005 07:23 PM
MySQL Installation on Windows XP arievaulx BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 4 October 12th, 2004 04:05 PM
Windows 98 OCX control issues vs Windows XP benoyraj VB How-To 0 May 5th, 2004 08:10 AM
Q. How do I set permissions in Win. XP or Linux? richard.york PHP FAQs 0 April 5th, 2004 05:51 PM





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