|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
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.
|
|
|
|
![]() |
|
|