 |
 |
Mac Os X.2.6 /my SQL/Terminal?
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2003
Status:
Offline
|
|
OK here is a brief history to my problem
Trying to install mysql on my Mac running X.2.6, to test my data driven web pages
Installed mySQL, problems
Deleted my SQL using Terminal with command
sudo rm -r /usr/local
Remade Local folder with command
cd /usr; sudo mkdir/Local
Tried reinstalling mySQL with no joy, I think it might be because there is a socket missing this because when I entered
cd/usr/local/mysql
I get
cd/usr/local/mysql: Command not found.
so I tried to find the folder the socket is meant to be placed (according to text file)
[pc-80-192-43-109-st:~] grant% open /ect/
No such file: /ect/
So my question is there a way I can completely start again, thus remove any trace of the app without having to reinstall my system?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: New York, NY
Status:
Offline
|
|
Did you create /usr/Local or /usr/local? The command line is case sensitive.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2002
Location: Here and there
Status:
Offline
|
|
Moved from PowerMac Forums to Mac OS X Forums
|
|
"Life is not a journey to the grave with the intention of arriving safely in one
pretty and well preserved piece, but to skid across the line broadside,
thoroughly used up, worn out, leaking oil, shouting GERONIMO!"
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: May 2000
Location: California
Status:
Offline
|
|
/usr/local/ is used for a lot more than just mysql. I'd suggest doing a clean OS install on a spare partition, then copy over the full /usr/local/ folder. Finally, reset permissions via Disk Utility.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
Originally posted by reader50:
/usr/local/ is used for a lot more than just mysql. I'd suggest doing a clean OS install on a spare partition, then copy over the full /usr/local/ folder. Finally, reset permissions via Disk Utility.
There's nothing in /usr/local/ with a default OS install.
|
|
Vandelay Industries
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
Originally posted by grant.smith:
OK here is a brief history to my problem
Trying to install mysql on my Mac running X.2.6, to test my data driven web pages
Installed mySQL, problems
Deleted my SQL using Terminal with command
sudo rm -r /usr/local
Remade Local folder with command
cd /usr; sudo mkdir/Local
Tried reinstalling mySQL with no joy, I think it might be because there is a socket missing this because when I entered
cd/usr/local/mysql
I get
cd/usr/local/mysql: Command not found.
so I tried to find the folder the socket is meant to be placed (according to text file)
[pc-80-192-43-109-st:~] grant% open /ect/
No such file: /ect/
So my question is there a way I can completely start again, thus remove any trace of the app without having to reinstall my system?
Unless that's a typo, it's /etc, not /ect.
|
|
Vandelay Industries
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: May 2000
Location: California
Status:
Offline
|
|
Originally posted by Art Vandelay:
There's nothing in /usr/local/ with a default OS install.
Many of us crazy ones do not have a default OS install. 
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
Originally posted by reader50:
Many of us crazy ones do not have a default OS install.
True, but reinstalling the OS won't fix any extras that you may have added to /usr/local since there's nothing from Apple that goes in there.
|
|
Vandelay Industries
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Originally posted by grant.smith:
OK here is a brief history to my problem
Trying to install mysql on my Mac running X.2.6, to test my data driven web pages
Installed mySQL, problems
Deleted my SQL using Terminal with command
sudo rm -r /usr/local
Remade Local folder with command
cd /usr; sudo mkdir/Local
Tried reinstalling mySQL with no joy, I think it might be because there is a socket missing this because when I entered
cd/usr/local/mysql
I get
cd/usr/local/mysql: Command not found.
so I tried to find the folder the socket is meant to be placed (according to text file)
[pc-80-192-43-109-st:~] grant% open /ect/
No such file: /ect/
So my question is there a way I can completely start again, thus remove any trace of the app without having to reinstall my system?
assuming you did a copy of that error message, then _one_ problem is that you need a space after cd...
Mike
|
|
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by Art Vandelay:
There's nothing in /usr/local/ with a default OS install.
uhh...
[phil@lateralus:/usr/local]% ls -al
total 24
drwxr-xr-x 17 root wheel 578 Jun 3 19:01 .
drwxr-xr-x 12 root wheel 408 Jun 5 23:05 ..
-rw-rw-rw- 1 root wheel 6148 May 15 2002 .DS_Store
drwxrwxr-x 35 phil 1000 1190 Jun 16 19:11 bin
drwxr-xr-x 3 root wheel 102 Apr 17 17:43 doc
drwxr-xr-x 4 root wheel 136 Apr 23 14:05 etc
drwxr-xr-x 15 root wheel 510 Jun 3 19:01 include
drwxr-xr-x 13 root wheel 442 Apr 23 14:05 info
drwxr-xr-x 52 root wheel 1768 Jun 3 19:01 lib
drwxrwxr-x 3 root wheel 102 Apr 23 13:59 libexec
drwxr-xr-x 5 root wheel 170 Jun 21 04:31 man
lrwxr-xr-x 1 root wheel 45 Jun 3 19:01 mysql -> mysql-standard-4.0.12-apple-darwin6.4-powerpc
drwxr-xr-x 22 root wheel 748 Apr 23 16:10 mysql-standard-4.0.12-apple-darwin6.4-powerpc
drwxr-xr-x 3 root wheel 102 Jun 14 12:20 sbin
drwxr-xr-x 14 root wheel 476 Jun 3 19:01 share
drwxr-xr-x 4 root wheel 136 Apr 17 17:50 src
drwxr-xr-x 3 root wheel 102 Jun 3 19:00 var
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
Originally posted by philzilla:
uhh...
[phil@lateralus:/usr/local]% ls -al
total 24
drwxr-xr-x 17 root wheel 578 Jun 3 19:01 .
drwxr-xr-x 12 root wheel 408 Jun 5 23:05 ..
-rw-rw-rw- 1 root wheel 6148 May 15 2002 .DS_Store
drwxrwxr-x 35 phil 1000 1190 Jun 16 19:11 bin
drwxr-xr-x 3 root wheel 102 Apr 17 17:43 doc
drwxr-xr-x 4 root wheel 136 Apr 23 14:05 etc
drwxr-xr-x 15 root wheel 510 Jun 3 19:01 include
drwxr-xr-x 13 root wheel 442 Apr 23 14:05 info
drwxr-xr-x 52 root wheel 1768 Jun 3 19:01 lib
drwxrwxr-x 3 root wheel 102 Apr 23 13:59 libexec
drwxr-xr-x 5 root wheel 170 Jun 21 04:31 man
lrwxr-xr-x 1 root wheel 45 Jun 3 19:01 mysql -> mysql-standard-4.0.12-apple-darwin6.4-powerpc
drwxr-xr-x 22 root wheel 748 Apr 23 16:10 mysql-standard-4.0.12-apple-darwin6.4-powerpc
drwxr-xr-x 3 root wheel 102 Jun 14 12:20 sbin
drwxr-xr-x 14 root wheel 476 Jun 3 19:01 share
drwxr-xr-x 4 root wheel 136 Apr 17 17:50 src
drwxr-xr-x 3 root wheel 102 Jun 3 19:00 var
That's not a default install of OS X. OS X does not ship with mysql, maybe Server does but not Client.
On my three different Macs, /usr/local/ is empty.
|
|
Vandelay Industries
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2002
Location: Illinois
Status:
Offline
|
|
Originally posted by Art Vandelay:
That's not a default install of OS X. OS X does not ship with mysql, maybe Server does but not Client.
On my three different Macs, /usr/local/ is empty.
/usr/local contains installed UNIX tools. (Stuff you compiled and then used a make install on.)
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
Originally posted by King Bob On The Cob:
/usr/local contains installed UNIX tools. (Stuff you compiled and then used a make install on.)
Right, which proves my point. The Mac OS X installer does not place anything in /usr/local/, therefore reinstalling OS X will not solve the original poster's problem.
|
|
Vandelay Industries
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|