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

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <>=20

> 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 =
at the script and read the comments in it.

Paul Schmehl (
Senior Information Security Analyst
The University of Texas at Dallas


Want to link to this message? Use this URL: <>