Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2007 10:21:44 -0500
From:      Eric Crist <mnslinky@gmail.com>
To:        "Fidel Garcia" <fgarcia@systeamusa.com>
Cc:        questions@freebsd.org
Subject:   Re: Installing mysql 4.0
Message-ID:  <8225E755-0586-40A3-B756-950F7AA44107@gmail.com>
In-Reply-To: <004001c7e0d7$196cce20$4c466a60$@com>
References:  <004001c7e0d7$196cce20$4c466a60$@com>

next in thread | previous in thread | raw e-mail | index | archive | help
Add mysql_enable="YES" to your /etc/rc.conf file, and use the /usr/ 
local/etc/rc.d/mysql-server script to start the process as follows:
% su root
# /usr/local/etc/rc.d/mysql-server start

HTH

Eric Crist


On Aug 17, 2007, at 9:01 AMAug 17, 2007, Fidel Garcia wrote:

> Hi
>
>
>
> I have been trying to get mysql running for the past two days  
> without luck.
> I added these two packages using sysinstall from FTP.
>
> mysql-client-4.0.26_1 Multithreaded SQL database (client)
>
> mysql-server-4.0.26_2 Multithreaded SQL database (server)
>
>
>
> I went to the folder /usr/ports/databases/mysql40-server/ and did a  
> make
> clean install.
>
>
>
> Then I created the file /etc/my.cnf like
>
>
>
> fr# more my.cnf
>
> [mysqld]
>
> datadir=/usr/local/mysql/data
>
> socket=/tmp/mysql.sock
>
>
>
> [mysql.server]
>
> user=mysql
>
> basedir=/usr/local/bin/mysql
>
>
>
>
>
> I got stuck at this point. I have been reading online without luck.  
> I do not
> even know how to start mysql.
>
>
>
> I hope you guys can point in the right directions.
>
>
>
> Thanks in advance.
>
>
>
> Fidel Garcia
>
>
>
>
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe@freebsd.org"

-----
Eric F Crist
Secure Computing Networks





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8225E755-0586-40A3-B756-950F7AA44107>