Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-28-2004, 05:52 PM   #1
ynolo
Triple-A Player
 
Join Date: Aug 2002
Location: heaven
Posts: 69
installing 4.1.1-alpha-max or 4.1.1-alpha-stadard

I was getting that annoying error of "mysql.host" does not exists or somethig like that.

This what i did, install packages from mysql.com.

1. cd /usr/local/mysql/

2. run the configure script

sudo ./configure

3. change ownership to the /usr/local/mysql/data directory

sudo chown -R /usr/local/mysql/data/
sudo chown -R /usr/local/mysql/data/*

4. if you setting up innodb, make sure your my.cnf is already setup in the data directory.

5. since you arelady are in the mysql directory just type:

sudo ./bin/mysqld_safe &

6. remember to set a password, run this at any point

/usr/local/mysql/bin/mysqladmin -u root password new_password_here

That was it.

Enjoy.
__________________
i don't have one.
ynolo is offline   Reply With Quote
Old 05-03-2004, 03:54 PM   #2
newmanium
Prospect
 
Join Date: May 2004
Posts: 1
thanks for the great tip. I was wondering if you could help me with my installation. I installed MySQL and its working so far so good from the "/usr/local/mysql/" directory, but I've been having a lot of trouble getting mysql to run right from my command line. I'm running on the bash shell and repeatedly tried to follow the hints on editing/creating the ".bashrc" file. So I create the file if it doesn't exist and input the line "export PATH="$PATH:/Library/MySQL/bin" " just as the hints tell me to. when I restart the Terminal or my computer I always end up with the error message that the command could not be found. Any suggestions or advice would be greatly appreciated.
newmanium is offline   Reply With Quote
Reply


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

Forum Jump



All times are GMT -5. The time now is 07:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.