View Single Post
  #1   (View Single Post)  
Old 8th December 2008
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default MySQL problems in FBSD 6.2

I tried to install MySQL 5.1 today on my FreeBSD 6.2 box. I'm not sure exactly how to start the troubleshooting.

First thing I noticed is I don't have a 'mysqld' executable. I did a rehash, and I still don't find it. Does it reside someplace odd?

I do have /usr/local/bin/mysqld_safe and /usr/local/bin/mysqld_multi

I tried starting 'mysqld_safe', and the following resulted:
Code:
# /usr/local/bin/mysqld_safe
081207 19:54:00 mysqld_safe Logging to '/var/db/mysql/hostname.err'.
081207 19:54:00 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
081207 19:54:00 mysqld_safe mysqld from pid file /var/db/mysql/hostname.pid ended
I then tried to ping the mysql server with mysqladmin:
Code:
# mysqladmin ping
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
I'm not sure what to do next. I installed 'mysql51-server', 'mysql51-client', and 'mysql51-scripts' all from ports after cvsup'ing my ports tree. I did not use and command line flags for compiling.

Last edited by Mantazz; 9th April 2009 at 09:58 PM. Reason: clearing out un-needed, identifying information
Reply With Quote