ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   .pkg MySQL installation won't start
Date:   2002-05-09 10:22:19
From:   cmessley
I too am getting hung up on initializing the core MySQL database. Here's what I'm seeing:



[localhost:/usr/local/mysql] root# sudo ./scripts/mysql_install_db
Installing all prepared tables
020509 12:11:49 ./bin/mysqld: Shutdown Complete



To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system


PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
./bin/mysqladmin -u root -p password 'new-password'
./bin/mysqladmin -u root -h localhost -p password 'new-password'
See the manual for more instructions.


NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!


You can start the MySQL daemon with:
cd . ; ./bin/safe_mysqld &


You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests


Please report any problems with the ./bin/mysqlbug script!


The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com


[localhost:/usr/local/mysql] root# sudo chown -R mysql /usr/local/mysql
[localhost:/usr/local/mysql] root# sudo ./bin/safe_mysqld --user=mysql &
[1] 1424
[localhost:/usr/local/mysql] root# Starting mysqld daemon with databases from /usr/local/mysql/data
020509 12:12:48 mysqld ended



I'm also loosing the command prompt at this point. I've tried running this several times with the same results.


Sorry about redundantly posting about this problem but I haven't found a solution to this from others comments. Any insight would be appreciated.


- Chris


1 to 1 of 1
  1. .pkg MySQL installation won't start
    2002-05-10 10:47:03  cmessley [View]

1 to 1 of 1