Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To 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 July 24th, 2004, 06:51 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to SuperDude
Default Setting up mySQL with PHP

Hi, i'm on page 23 of the Beginning PHP, Apache, MySQL Web Development book. I have just installed MySQL, which starts up as a service and I have ran 'mysql test'. However, trying to run 'mysql mysql' gives me the following error:
Error 1044: Access Denied for user: '@localhost' to database 'mysql'

I have tried looking this up in the mySQL manual but the information is not very helpful. (The error code only appears on 1 line in the entire manual). I am using MySQL version 4.0.20a-debug for Windows XP.

This could be a change in the new version of MySQL but leaves me unable to continue configuring the server :(

Any advice on this will be appreciated.

~SuperDude~
 
Old July 30th, 2004, 06:47 AM
Registered User
 
Join Date: Jul 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
  Well I followed all the steps right according to the book and "WOW" every thing is going very cool man.
 You just reinstall MySQL "mysql-4.0.18-win" otherwise I fear you are missing any step somewhere (silly mistakes kind of thing). Believe the book. Its really give no error to me as yet.
Keep sharing your experience.

Njoy programming
Sharad

Regards,
Sharad





Similar Threads
Thread Thread Starter Forum Replies Last Post
begin php & mysql - chapter 12, user_form.php jon_stubber Beginning PHP 1 March 9th, 2006 10:57 AM
Setting Up PHP to Use E-mail dakaa101 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 December 13th, 2005 05:25 PM
Setting MySQL Permissions, Windows XP scrabala BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 November 2nd, 2004 05:09 PM
ERROR 1044 in Setting up MySQL kara333 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 October 20th, 2004 04:53 PM
Help with setting up PHP with apache2 on windows mfowler Beginning PHP 3 November 5th, 2003 09:16 AM





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