List:General Discussion« Previous MessageNext Message »
From:Matt Scales Date:September 10 2005 6:49am
Subject:MySQL install problems on OSX 10.4
View as plain text  
I've just installed MySQL 4 4.1.12_1 +server using darwinports but I
can't seem to get past this error. After installing it tells me that
it cold not resolve my IP.

Mattys-iMac-G5:/opt/local/bin matty$ sudo -u mysql ./mysql_install_db
Password:
WARNING: The host 'Mattys-iMac-G5' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
050910 15:52:28 [Warning] Setting lower_case_table_names=2 because
file system for /opt/local/var/db/mysql/ is case insensitive
Fill help tables
050910 15:52:30 [Warning] Setting lower_case_table_names=2 because
file system for /opt/local/var/db/mysql/ is case insensitive


I ignore this and try and start mysqld using
cd /opt/local ; /opt/local/bin/mysqld_safe &
but it won't work. It says

Mattys-iMac-G5:/opt/local/bin matty$ cd /opt/local ;
/opt/local/bin/mysqld_safe &
[1] 18533
Mattys-iMac-G5:/opt/local matty$ chown:
/opt/local/var/Mattys-iMac-G5.err: Operation not permitted
Starting mysqld daemon with databases from /opt/local/var
STOPPING server from pid file /opt/local/var/Mattys-iMac-G5.pid
050910 16:09:32  mysqld ended

Can anyone advise me on what's going on with the the mysqld not
starting? Typing "mysql" at the prompt tells me:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/local/var/run/mysqld/mysqld.sock' (2)

Very confused as to why it isn't working.

Any help most appreciated
Thread
MySQL install problems on OSX 10.4Matt Scales10 Sep
  • Re: MySQL install problems on OSX 10.4Gleb Paharenko10 Sep
  • Re: MySQL install problems on OSX 10.4Michael Stassen13 Sep