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:   allmost same problem
Date:   2002-06-23 09:19:18
From:   bluesy
Response to: Permission Denied

I got all of the other server stuff running from these good articels, unfortunally this one is teasing me :-(


I cant get passed the chown command, i used the packed version to install mysql nd not the source, but it just goes wrong :-(


[localhost:/usr/local/mysql] bluesy% sudo ./scripts/mysql_install_db
Password:
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
ERROR: 1062 Duplicate entry 'localhost-root' for key 1
ERROR: 1062 Duplicate entry 'localhost-root' for key 1
020623 17:41:33 ./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.


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] bluesy% sudo chown -R mysql /usr/local/mysql
chown: mysql: invalid user name
[localhost:/usr/local/mysql] bluesy% sudo ./bin/safe_mysqlid --user=mysql &
[1] 461
[localhost:/usr/local/mysql] bluesy% sudo: ./bin/safe_mysqlid: command not found


1 to 2 of 2
  1. allmost same problem
    2002-08-21 19:17:51  hembeck [View]

    • allmost same problem
      2002-11-22 14:02:40  cesareborgia [View]

  2. allmost same problem
    2002-06-25 06:16:02  bluesy [View]

1 to 2 of 2