Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A different install experience' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A different install experience
Authored by: thinkyhead on Apr 04, '01 07:57:55PM
Wow, cool article.

I actually installed mySQL from the binary distribution labeled as the beta-apple-darwin1.2-powerpc located on this page:

It's actually version 3.23.27 and not 3.23.28 but it seems to work fine. I followed its INSTALL-README as closely as I could and had no problems with the install. The only tricky part was adding a new group called mysql and a new user called mysql which meant I had to dig into NetInfo Manager a little bit more than I wanted. I would have liked being able to just type useradd from the terminal per the instructions, but I couldn't figure out how to do it without the NetInfo Manager.

I made sure to install the decompressed mysql-apple-blah-version folder in /usr/local/ along with a symbolic link named simply 'mysql.' I entered the mysql folder with cd and ran the install script with scripts/mysql_install_db. It was much faster than I had expected!

Anyhow, I probably ought to go back and do the install of the newer version according to this article. It would be nice to have the mySQL daemon come up at boot time and get PHP running under Apache. Hopefully this article will help me with my little troubles and also to get the /usr/local/mysql/bin/ folder added to the system PATH.

Tips? Experiences? This is a great topic about an essential resource!

[ Reply to This | # ]
A different install experience
Authored by: foamy on Apr 04, '01 09:04:03PM

I use zsh for my shell, but tcsh should be similar for adding to your path.

Create a file (if you don't already have one) called .tcshrc in /Users/you/
to create new paths add
export PATH=$PATH:/sbin/:/usr/sbin/:/usr/local/bin/
putting in whatever paths you want. Add new paths with :/path/to/location/
at the end of the line above.

restart the terminal and type env to check and see if the new paths stuck.

If you figure out how to get mysql to start at lauch, let me know. I saw it somewhere after PB was released, but I can't find it any more. maybe lightyeardesign?

[ Reply to This | # ]
A different install experience
Authored by: atl on Apr 11, '01 10:47:12AM
I haven't quite figured out how to successfully get the MySQLd running at startup, but after some experimentation, I noticed this informative document (link to local copy of Developers docs):
Customization Techniques
The sections on "The Boot Sequence" and "Customization Techniques" are of particular interest. I will investigate further...

[ Reply to This | # ]
Launch at startup
Authored by: atl on Apr 12, '01 08:20:53AM
for those following this, this article details how to launch MySQL at startup.

[ Reply to This | # ]