Hello.


> /opt/local/var/Mattys-iMac-G5.err: Operation not permitted



Check the permissions on /opt/local/var directory. Have a look here 

as well:

  http://dev.mysql.com/doc/mysql/en/starting-server.html



Matt Scales <[EMAIL PROTECTED]> wrote:

> 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=3D2 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=3D2 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

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.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