I now have mysql running on  my Mac OS X 10.3.4 box.

The socket file is now being created correctly in my
/usr/local/mysql/run directory.

Thank you for all your help.

Regards,

Ron Phelps

--- Ron Phelps <[EMAIL PROTECTED]> wrote:

> 1. I re-examined the error messages in config.log. I
> couldn't find anything obvious to fix.
> 2. I decided to gamble and run make, compile went OK
> 3. Ran make install, install went OK
> 4. Ran mysql_install_db, went OK
> 5. Changed file permissions
> drwxr-xr-x  13 root   mysql   442 30 Jul 05:29 ./
> drwxr-xr-x   5 root   wheel   170 25 Jul 20:32 ../
> drwxr-xr-x  48 root   mysql  1632 30 Jul 05:23 bin/
> drwxr-xr-x   6 mysql  mysql   204 30 Jul 05:43 data/
> drwxr-xr-x   3 root   mysql   102 30 Jul 05:22
> include/
> drwxr-xr-x   4 root   mysql   136 30 Jul 05:22 info/
> drwxr-xr-x   3 root   mysql   102 30 Jul 05:22 lib/
> drwxr-xr-x   3 root   mysql   102 30 Jul 05:22
> libexec/
> drwxr-xr-x   3 root   mysql   102 30 Jul 05:22 man/
> drwxr-xr-x   9 root   mysql   306 30 Jul 05:23
> mysql-test/
> drwxr-xr-x   3 mysql  mysql   102  4 Aug 15:17 run/
> drwxr-xr-x   3 root   mysql   102 30 Jul 05:22
> share/
> drwxr-xr-x  29 root   mysql   986 30 Jul 05:22
> sql-bench/
> 6. Ran mysqld_safe OK, 
> [1]+  Running                 sudo
> /usr/local/mysql/bin/mysqld_safe --user=mysql & 
> (wd:
> /usr/local/mysql/bin)
> 7. Attempted to set password on database, with the
> following error.
> /usr/local/mysql/bin/mysqladmin: connect to server
> at
> 'localhost' failed
> error: 'Can't connect to local MySQL server through
> socket '/usr/local/mysql/run/mysql_socket' (38)'
> Check that mysqld is running and that the socket:
> '/usr/local/mysql/run/mysql_socket' exists!
> 
> Instructions at
>
http://developer.apple.com/internet/opensource/osdb.html
> recommended running configure with the following
> option:
>
--with-unix-socket-path=/usr/local/mysql/run/mysql_socket
> 
> 
> First attempt at setting the password failed, I then
> created mysql_socket directory to see if that would
> make any difference, same message.
> 
> Thanks for any suggestions and for the help to get
> me
> this far.
> 
> Ron
> 
> --- Ron Phelps <[EMAIL PROTECTED]> wrote:
> 
> > I executed the following preparation work:
> > 
> > 1. Upgraded Mac OS X 10.3.1 to 10.3.4
> > 2. Installed two additional security updates
> > 3. Examined the status of the Xcode packages
> > pre-installed on the box Documentation states it
> is
> > Xcode 1.0 for Mac OS 10.3 Panther
> > 4. I ran all installers except, CHUD, DevExamples,
> > cross-development and x11
> > 5. I upgraded Xcode 1.0 to Xcode 1.1
> > 6. Added FLAG options to a .config wrapper for
> > configure
> > 
> > Ran .config with the following results:
> > 1. configure terminates with exit 0 (successful
> > return
> > ?)
> > 2. Welcome message printed to terminal
> > 3. Many error messages were logged, first and
> second
> > of shown below
> > 4. Approximately 208 Makefiles were  created
> > 
> > What is the current state of the configure
> > environment
> > - success as indicated by  the return code? But
> what
> > of these error messages?
> > 
> > Since the state of the Xcode environment may be
> > suspect, I wonder if it makes sense to flush it,
> and
> > start over with a clean setup - which of course
> > raises
> > the question how to clean up the current
> environment
> > correctly in order to start over.
> > 
> > Thanks for any suggestions.
> > 
> > Ron
> > 
> > configure:2913: checking for gcc option to accept
> > ANSI
> > C
> > configure:2974: gcc  -c -O3
> -fno-omit-frame-pointer 
> > 
> > conftest.c >&5
> > configure:2977: $? = 0
> > configure:2980: test -s conftest.o
> > configure:2983: $? = 0
> > configure:3001: result: none needed
> > configure:3019: gcc -c -O3 -fno-omit-frame-pointer
>  
> > conftest.c >&5
> > conftest.c:2: error: parse error before "me"
> > configure:3022: $? = 1
> > configure: failed program was:
> > | #ifndef __cplusplus
> > |   choke me
> > | #endif
> > .
> > .
> > .
> > configure:3586: gcc -c -O3 -fno-omit-frame-pointer
> > -felide-constructors -fno-exceptions
> >  -fno-rtti   conftest.cc >&5
> > configure: In function `int main()':
> > configure:3587: error: `exit' undeclared (first
> use
> > this function)
> > configure:3587: error: (Each undeclared identifier
> > is
> > reported only once for 
> >    each function it appears in.)
> > configure:3589: $? = 1
> > configure: failed program was:
> > | #line 3569 "configure"
> > | /* confdefs.h.  */
> > | 
> > | #define PACKAGE_NAME ""
> > | #define PACKAGE_TARNAME ""
> > | #define PACKAGE_VERSION ""
> > | #define PACKAGE_STRING ""
> > | #define PACKAGE_BUGREPORT ""
> > | #define PACKAGE "mysql"
> > | #define VERSION "4.0.20"
> > | #define PROTOCOL_VERSION 10
> > | #define DOT_FRM_VERSION 6
> > | #define SYSTEM_TYPE "apple-darwin7.4.0"
> > | #define MACHINE_TYPE "powerpc"
> > | /* end confdefs.h.  */
> > | 
> > | int
> > | main ()
> > | {
> > | exit (42);
> > |   ;
> > |   return 0;
> > | }
> > 
> > 
> > 
> > 
> > --- Michael Stassen <[EMAIL PROTECTED]>
> > wrote:
> > > First, I should point out that the simplest
> course
> > > would be to download the 
> > > precompiled binary from mysql.  That said, I
> admit
> > I
> > > like to build from 
> > > source, largely because whenever things go
> wrong,
> > I
> > > always learn something.
> > > 
> > > On first glance, I see a few problems:
> > > 
> > > 1) You are running OS X 10.3.1, but current is
> > > 10.3.4.  I don't believe 
> > > that's the cause of the problem here, but there
> > are
> > > some important security 
> > > updates you are missing.  I'd recommend running
> > > Software Update to install 
> > > at least the security patches.
> > > 
> > > 2) You appear to have Xcode 1.1, based on your
> gcc
> > > version.  The error 
> > > messages you are getting indicate that your
> system
> > > header files, which 
> > > should be in /usr/include, cannot be found. 
> Those
> > > are normally put in place 
> > > by the Xcode installer along with gcc.
> > > 
> > > 3) The second line is trying to compile with
> just
> 
=== message truncated ===

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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