Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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:
# /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:
# 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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash in FBSD 7.2 Mantazz FreeBSD Ports and Packages 8 5th October 2009 05:37 AM
dvb-t on FBSD? michaelrmgreen FreeBSD General 3 15th May 2009 10:43 AM
problems installing mysql port dejabu18 FreeBSD Ports and Packages 22 7th August 2008 09:23 AM
Eta Fbsd 7.1? michaelrmgreen FreeBSD General 7 7th June 2008 05:56 AM
mySql problems dctr FreeBSD Ports and Packages 3 25th May 2008 05:52 PM

All times are GMT. The time now is 08:49 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick