>Description:
It is my first install of MySQL 64 bit. The platform is Mac G4 under OS 10.4.10.

My guide has been the included text file, INSTALL-BINARY whose instructions are referred to below.

The instructions call for adding a user via ADDUSER, a FreeBSD command that nevertheless is not included on the Mac. Instead, a Mac person uses SYSTEM PREFERENCES to add a user by declaring the users' name and password on a special panel. For some reason, the panel does not permit a user named mysql: "There is already a user by this name." (?)

The instructions call for adding a user group via ADDGROUP, also not included on the Mac. I believe that opening TERMINAL and typing "chown <owner>:<group> <filename> " would work. But first, there must be a user named "mysql".

The MySQL installation has a directory named man. Despite the instructions, I included this directory in the MANPATH by modifying / usr/share/misc/man.conf . Trying to write proper MANPATH and MANSECT variables on the Mac is asking for trouble, in my opinion.

The MySQL installation has a directory named "data". It does not allow the command "cd data" [permission denied]. It responds the same way to "sudo cd data". (?)

The file mysql_install_db is of course misbehaving as shown below.

Here are messages from the OS:

/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit->scripts/ mysql_install_db --user=mysql scripts/mysql_install_db: line 1: ./bin/my_print_defaults: Bad CPU type in executable Neither host 'nsh.local' nor 'localhost' could be looked up with ./ bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with the --force option

/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit->hostname
nsh.local
xxxxxxxxxxxxxxxxxxx

/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit/bin->./mysql --skip- grant &
[1]     245
/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit/bin->-ksh: ./mysql: cannot execute [Bad CPU type in executable]

xxxxxxxxxxxxxxxxxxx

/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit/bin->./mysql --skip- grant & /usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit/bin->-ksh: ./mysqld: cannot execute [Bad CPU type in executable]

[1] +  Done(126)               ./mysqld --skip-grant &

xxxxxxxxxxxxxxxxxxx

/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit->cd data_old
-ksh: cd: data_old: [Permission denied]
/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit->sudo cd data_old
/usr/local/mysql-5.0.51a-osx10.4-powerpc-64bit->cd data_old
-ksh: cd: data_old: [Permission denied]

xxxxxxxxxxxxxxxxxxx

>How-To-Repeat:
Try the commands in the above description and in the message history attached.
>Fix:
<how to correct or work around the problem, if known (multiple lines)>

>Submitter-Id:  <submitter ID>
>Originator: Neale Hirsh
>Organization: NSH & Assoc.
<organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email support ] none >Synopsis: Unable to install mysql. Client wants to compare it against MS Access, which should be an easy win for MySQL.
>Severity:      <[ non-critical | serious | critical ] (one line)>
>Priority:      <[ low | medium | high ] (one line)>
>Category:      mysql
>Class: <[ sw-bug | doc-bug | change-request | support ] (one line)> sw-bug
>Release:       mysql-5.0.51a (MySQL Community Server (GPL))

>C compiler: powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250) >C++ compiler: powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)
>Environment:
        <machine, os, target, libraries (multiple lines)>
System: Darwin nsh.local 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc


Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
"/tmp/mysqlbug-390/mysqlbug" 45L, 3117C


Neale Hirsh
Houston TX
nhirsh2 remove at mac remove_also dot com


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to