Opened 13 years ago

Last modified 12 years ago

#33486 new defect

mysql5 doesn't start

Reported by: davidc1947@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: mysql5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sudo port install mysql5 +server
sudo port install ruby
sudo port install rb-rubygems
sudo port install rb-termios
sudo port install rb-mysql
sudo port install subversion +tools
sudo ln -s /opt/local/var/run/mysql5/mysqld.sock /tmp/mysql.sock
sudo mysql_install_db5 --user=mysql 

 mysql5 ERROR: 1004 mysql5 Can't create file '/var/tmp/#sql149ef_1_0.frm' (errno: 9)
 mysql5
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)

Change History (3)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mysql won't run removed
Port: mysql5 added
Summary: installed allmysql5 doesn't start

comment:2 in reply to:  description Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…

Replying to davidc1947@…:

sudo port install mysql5 +server

There hasn't been any such thing as a +server variant for the mysql5 port in several years. If we still have instructions out there that say to do this, please let us know the URL so that we can correct the instructions.

sudo ln -s /opt/local/var/run/mysql5/mysqld.sock /tmp/mysql.sock

There should be no need to do this. Why do you believe this should be done?

sudo mysql_install_db5 --user=mysql 

mysql5 ERROR: 1004 mysql5 Can't create file '/var/tmp/#sql149ef_1_0.frm' (errno: 9)
mysql5
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)

Have you followed the instructions at wiki:howto/MAMP#mysql?

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Cc: pixilla@… added
Note: See TracTickets for help on using tickets.