Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > PHP

Reply
 
LinkBack Thread Tools Display Modes
Old 08-20-2004, 05:13 AM   #16 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
(might need to use start->run->type: command [ENTER] for Win98)
idx is offline   Reply With Quote
Old 08-21-2004, 06:23 AM   #17 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 170
DavH27 is on a distinguished road
WHOA I fixed it!! Well actually I found out that my keyboard on my nan's laptop is even more screwy. The hash '#' button was the backslash button

AAAARRRGHHH But I'm getting an error message now. I've tried lookng through the manual but it doesn't make much sense to me.
Quote:
ERROR 2003: Can't connect to MySQL server on 'local host' (10061)
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Old 08-21-2004, 08:09 AM   #18 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,532
sde is on a distinguished road
that means that the mysql server isn't turned on. you need to double click on c:\mysql\bin\winmysqladmin.

a window should popup and minimize. if it does not go away, just close it. you should see a top light in the sys tray.

if the stop light in the sys tray is green, then you are on, if the light on the sys tray is red, then right click on it and choose "start service"

now you navigate in the command prompt to c:\mysql\bin

i know bdl and the mysql manual recommend using the mysqladmin to set the root password, but i've installed mysql on 2 different computers yesterday to check this out and i could not get it to work. so do this:

from the command line:
Code:
c:
cd mysql\bin
mysql -uroot
now your prompt should have 'mysql>' at the beginning of it. you need to do 2 things:
1. set your root password:
Code:
mysql> set password = password('mypassword');
2. create a database:
Code:
mysql> create database mydatabase;
now download phpmyadmin as before so you have a gui for your database.
__________________
Mike
sde is offline   Reply With Quote
Old 08-22-2004, 04:21 PM   #19 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 170
DavH27 is on a distinguished road
Oooh it works it works I finally got this bugger to work for me!!!



*Cracks open MS Word and begins typing the first tutorial*

You know I said that I would like this topic deleted once I figure it out - is it possible to just convert it into a tutorial THEN delete it? It makes me look like a complete fool
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Old 08-22-2004, 07:35 PM   #20 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,532
sde is on a distinguished road
sorry man, you need to get over the pride thing. nothing like this gets deleted and no one thinks you are a fool. you're getting this stuff setup on win98 for the first time. with everything in this thread, you got it working right?

don't let that stop ya from writting a tutorial though =)
__________________
Mike
sde is offline   Reply With Quote
Old 08-23-2004, 11:43 AM   #21 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 170
DavH27 is on a distinguished road
yea got it all workin except phpmyadmin ... grr
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Old 08-23-2004, 11:48 AM   #22 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,532
sde is on a distinguished road
great!

look at the phpmyadmin config script carefully. there should be a line where you have to put in the absolute http url that phpadmin is in.

it is before the area where you declare your database info.
__________________
Mike
sde is offline   Reply With Quote
Old 08-24-2004, 12:46 PM   #23 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 170
DavH27 is on a distinguished road
Yeah great but now I've had enoughw ith this cheap, tacky and DAMN ANNOYING BadBlue server thing. Trying to d/l Apache but dno which one. Somebody in here recommended Apache2Triad...? I've downloaded the Httpd-2.0.50 version but having problems in finding what to do next after unzipping.

This is one GIGANTUOUS leap coming from CSS formatted HTML to PHP/MySQL!! Every step is bloody difficult!
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Old 08-24-2004, 06:08 PM   #24 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
That's why I recommended apache2triad - one download and one install that does everything. Isn't going to show you anything about each of the pieces, but at this point it sounded like you wanted something up for code testing - not sys admin.

-r
idx is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 08:12 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting