PDA

View Full Version : Problem with configuring MySQL on Mac OS X


cuz
05-26-2003, 01:36 PM
Hello, all. I recently tried to install MySQL on Mac OS X box using these instructions on the Mac site (http://developer.apple.com/internet/macosx/osdb.html). All was working fine until I got to this part here:

./configure --prefix=/usr/local/mysql --with-unix-socket-path=/usr/local/mysql/run/mysql_socket --with-mysqld-user=mysql --with-comment --with-debug

I got a bunch of "file not found" errors so I wanna trash whatever I did and start from scratch, but I don't know what exactly to delete? Does anyone have an idea about this?

Thanx in advance,

Steven_Smith
05-26-2003, 06:59 PM
Try this site.

http://www.entropy.ch/

He has Mysql for OS X on his site.

Steve :thumbsup:

cuz
05-26-2003, 08:37 PM
Hey Steve. Thanx for responding! I checked out the Entropy and it had a solution for my situation.

One thing...the site suggests that I type these commands in the UNIX Terminal:


sudo rm -rf /usr/local/mysql/data/*
sudo hostname 127.0.0.1
cd /usr/local/mysql
sudo ./scripts/mysql_install_db
sudo chown -R mysql data/


When I type in the first line command (which should force/remove everything in, I assume, the data folder under the SQL Directory) it gives me a "sudo: no match" command, which doesn't make sense. Is it possible for me to just force/remove the whole MySQL directory as well as the mysql_intall_db file? I would try it, but since I'm no UNIX guru, I don't wanna try anything without knowing what I'm doing.

Thanx in advance...