Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2007 17:29:19 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: How does one start mysql after installing from ports
Message-ID:  <3239D874508554AF01ED85E9@paul-schmehls-powerbook59.local>
In-Reply-To: <340a29540707041500g25289b6la1aec3340b5cd628@mail.gmail.com>
References:  <340a29540707041500g25289b6la1aec3340b5cd628@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
--==========A84EFF6CCD1EDFB8F185==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

--On July 4, 2007 4:00:48 PM -0600 Andrew Falanga <af300wsm@gmail.com>=20
wrote:

> This is pretty pathetic but I'm batting a 1000 on this one.  I
> installed mysql a few weeks ago on this web server I'm making for my
> church and didn't do anything with it at that point (that was the
> first mistake).  I've not used mysql (I usually use PostgreSQL) but
> WebGUI wants mysql.  So, being completely unfamiliar with it, I cannot
> figure out how to start this thing.
>
> I eventually figured out that the mysqld process starts by using
> mysqld_safe in /usr/local/bin.  However, I can't get it to start.  At
> first it was because the directory /var/db/mysql didn't exist.  I
> created that and now I get this:
>
All ports that run daemons should put a startup script in=20
/usr/local/etc/rc.d.  Mysqld does.  Look at that script and it will=20
explain what you need to do to start mysql.  The port maintainer has=20
written the script so that it should start mysqld properly.

Basically, you add mysqld_enable=3D"YES" to the /etc/rc.conf file, but =
look=20
at the script and read the comments in it.

Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

--==========A84EFF6CCD1EDFB8F185==========--




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?3239D874508554AF01ED85E9>