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 June 22nd, 2005, 11:05 PM
Registered User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dreadzz
Default Configuring apache?

As per dbdave's suggestion i used: http://www.appservnetwork.com/ to configure everything since i was having so many problems.

Now on page 23 im attempting to follow step two but i get this. Whats the problem?
mysql> delete from user where host='localhost' and User=' ';
ERROR 1046: No Database Selected

sorry for being such a newb :-X

 
Old June 23rd, 2005, 01:22 AM
Authorized User
 
Join Date: May 2005
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you type mysql mysql when you logged into the MySql command line prog?

If so, then try

USE mysql

at the mysql> prompt....

 
Old June 27th, 2005, 07:13 PM
Registered User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dreadzz
Default

Well i tried that it didnt work so i skipped over that part of the book.
mysql> USE mysql
ERROR 1044: Access denied for user: '@localhost' to database 'mysql'

and also at the beginning of chapter three i created the two files in the book but it is not giving me access saying my password and account are wrong. i choose the default mysql mysql

what am i doing wrong

 
Old July 4th, 2005, 02:31 AM
Authorized User
 
Join Date: Jun 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

seems you are not logged in as root.

When you first install MySQL, there are 2 users: " " and "root". As they both run on your localhost in this instance.

so if u have not set a password for the root user (root@localhost) just log in as root.
if you DO have a password just log in as root:

without password:

C:\MySQL\bin\mysql -u root [ENTER]
("mysql" to start, -u <username> to spcify username)

WITH password:
C:\MySQL\bin\mysql -u root -p
("mysql" to start, -u <username to specify username and -p to let mysql know you want to be asked for a password)

You should get something like this:"

Code:
C:\MySQL\bin>mysql -u root -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL conection id is 2 to server version 4.1.12a-nt

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

mysql> _


If it works, good luck,

if not, you can contact me through MSN messenger (club662@hotmail.com) i will try to help you as much as i can as these forums are kinda slow.
 
Old August 19th, 2005, 09:29 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know it's important to learn how to config AMP, but for me to get started in the learning process i used XAMPP. Here's the link to it. http://www.apachefriends.org/en/xampp-windows.html
What I like about it is that you don't have to install anything. Just download the zip file and unzip anywhere on your hard drive and place all your work into the "htdocs: folder and away you go. Of course later on you will need to learn how to config AMP, but this is good for the time being, so you can begin PHPing.
Enjoy :D






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in configuring tomcat and apache jbashir Servlets 1 October 9th, 2006 08:28 PM
configuring apache Gaurab Classic ASP Databases 0 September 28th, 2005 12:58 PM
Configuring Apache + Tomcat using mod_jk2 gnseg BOOK: Professional Apache Tomcat 2 November 23rd, 2004 06:10 PM
Configuring MySQL - Help Please Draco BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 August 6th, 2004 09:10 PM
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.