image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Closed Thread
 
Thread Tools
  #9  
Old February 2nd, 2002, 11:46 PM
Registered User
 
Join Date: Feb 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
lcwid is on a distinguished road
MySQL is working

I used my brain and got it to work. But I'm still looking for a good book or two to help.
  #10  
Old February 7th, 2002, 05:56 PM
Registered User
 
Join Date: Feb 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
lisamac is on a distinguished road
using your brain

<snip>ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) </snip>

k. I'm really trying to use my brain too - but my hair is falling out... can you provide some insight on how you solved this problem? I'd love to know - really :-D

Thanks in advance -
LisaMac
  #11  
Old February 7th, 2002, 06:04 PM
Official Green Dinosaur
 
Join Date: Dec 2001
Location: Longwood, FL
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
yoshi is on a distinguished road
Help on the way!

okay that means mysqld isn't running . This tells me one of two things, one you didn't do the install right and the dameon isn't running right or at all or two you didn't do the below step and mysql isn't running .

try this:
Step 1) CD to the mysql install directory
Step 2) type "sudo ./bin/safe_mysqld --user=mysql &"

that should start mysql and allow you to do the test

Hope this helps

`Yoshi
__________________
12" PowerBook G4: 1.5Ghz, 768MB/RAM, 60GB HDD, Combo Drive, 64MB GeforceFX 2 Go, Airport Extreme + BT

Quicksilver G4: 1.53Ghz G4, 1GB/RAM, 160GB HDD, SuperDrive, Radeon 9800 Pro (128MB), Airport Card, AppleVision 850AV, Applevision 1710AV

PowerMac G3 Server: 400Mhz G3, 512MB/RAM, Dual 40GB RAID 0, Dual 80GB RAID 0, 40GB Boot Drive, DVD/CD Optical Drive, Ultra2 SCSI Card hooked to a DDS-4 Tape Drive, No Monitor

PowerMac 8500: Vintage
  #12  
Old February 7th, 2002, 06:22 PM
Registered User
 
Join Date: Feb 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
lisamac is on a distinguished road
re:help is on the way!

[localhost:/usr/local/mysql] lisamac% sudo ./bin/safe_mysqld --user=mysql &
[1] 428
[localhost:/usr/local/mysql] lisamac% Password:******
******: Command not found.
[localhost:/usr/local/mysql] lisamac%

is what i get when I try to run the above command (password is not all stars , but i tend to reuse my passwords for things like discussion forums, so i put them in instead of my password)- when i type in my password i get the command not found error...... i suck, i know... please help!

btw, thanks for getting back to me so fast :-D You're a lifesaver!

Cheers,
LisaMac
  #13  
Old February 7th, 2002, 06:32 PM
Registered User
 
Join Date: Feb 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
lisamac is on a distinguished road
here's some more info in case you need it to help

I downloaded the nice installation app from Marc Liyanage and installed as requested. did the steps maticulously ( i think ). I know that i've installed wrong though, cause I knew enough to try to start it. I think I understand the process... i got the error message "sorry the host 'blah blah' could not be looked up. Please configure the host command... etc etc." so i realized that my network guys had applied a hostname to me when i plugged in. Thinking i'm going to be working offline most of the time anyway i unplugged the network connection and restarted... this took me out to [localhost] so i tried to run mySQL again... now i'm getting the socket error.

I'm sure this makes no sense... i still suck... thanks for those who might try to decipher this though...

should i uninstall mysql and try again? if so, which files do i get rid of? or is there a simple way to actually re-configure the host command?

Thanks again m8's,
cheers,
LisaMac
  #14  
Old February 7th, 2002, 10:09 PM
Official Green Dinosaur
 
Join Date: Dec 2001
Location: Longwood, FL
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
yoshi is on a distinguished road
[localhost:/usr/local/mysql] lisamac% sudo ./bin/safe_mysqld --user=mysql &
[1] 428
[localhost:/usr/local/mysql] lisamac% Password:******
******: Command not found.
[localhost:/usr/local/mysql] lisamac%


Okay thats something with the sudo command, it might give you that error if you enter you password wrong, at this point I would try redoing all the steps from #1 and see if it duplicates the error, get back with me

`Yoshi
__________________
12" PowerBook G4: 1.5Ghz, 768MB/RAM, 60GB HDD, Combo Drive, 64MB GeforceFX 2 Go, Airport Extreme + BT

Quicksilver G4: 1.53Ghz G4, 1GB/RAM, 160GB HDD, SuperDrive, Radeon 9800 Pro (128MB), Airport Card, AppleVision 850AV, Applevision 1710AV

PowerMac G3 Server: 400Mhz G3, 512MB/RAM, Dual 40GB RAID 0, Dual 80GB RAID 0, 40GB Boot Drive, DVD/CD Optical Drive, Ultra2 SCSI Card hooked to a DDS-4 Tape Drive, No Monitor

PowerMac 8500: Vintage
  #15  
Old February 8th, 2002, 08:49 AM
Registered User
 
Join Date: Feb 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
lisamac is on a distinguished road
fabulous!!

Seems I just needed to sleep on it... thanks so much for your help yoshi - I ran the process from the beginning, just like you said and it worked!

I now have mySql and PHP running! :-D I'm so happy!

Thanks,
LisaMac
  #16  
Old February 9th, 2002, 12:34 AM
Official Green Dinosaur
 
Join Date: Dec 2001
Location: Longwood, FL
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
yoshi is on a distinguished road
Your very welcome . If you do need any more help please don't hesitate to ask.

~Yoshi
__________________
12" PowerBook G4: 1.5Ghz, 768MB/RAM, 60GB HDD, Combo Drive, 64MB GeforceFX 2 Go, Airport Extreme + BT

Quicksilver G4: 1.53Ghz G4, 1GB/RAM, 160GB HDD, SuperDrive, Radeon 9800 Pro (128MB), Airport Card, AppleVision 850AV, Applevision 1710AV

PowerMac G3 Server: 400Mhz G3, 512MB/RAM, Dual 40GB RAID 0, Dual 80GB RAID 0, 40GB Boot Drive, DVD/CD Optical Drive, Ultra2 SCSI Card hooked to a DDS-4 Tape Drive, No Monitor

PowerMac 8500: Vintage
Closed Thread

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP / MySQL Nynaeve Mac OS X System & Mac Software 6 December 21st, 2005 04:59 PM
PHP & mySQL revisited: Help needed MacLuv Design & Media 4 December 2nd, 2002 10:41 AM
PHP + MySQL running but not ZLIB lashampoo Mac OS X System & Mac Software 2 October 8th, 2001 05:58 PM


All times are GMT -5. The time now is 11:53 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.