Mysql from ports
Ron Clark
rsclark at kingwoodcable.net
Thu Aug 3 16:39:18 UTC 2006
OK, I rebuilt the box again and cvsuped my ports and got the machi back to 5.5 STABLE. When I tried to install mysql server 5.1, I get
the
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib/mysql
===> Ins cannot create /usr/local/libdata/l directory
*** Error code 2
S *** Error code 1
Stop in /usr/ports/databases/mysql51-server.
Is there any reason wh am installing this as root. <
This is a clean system, freshly installed. The only other packages / ports installed are the cvsup-without-gui and bash2.
Please help. I
Ron
On Wed Aug 2 18:02 , Gerard Seibert sent:
Ron Clark w
> Good day all,
>
> I am building a new server and need Mysql. I have tried to
install
> 4.1 server and 5.0 server. Both error out during the build. I
try t
> restart the install and it installs, but then will not start
becaus
> /var/log/mysql directory does not exist. I create the directory
and
> try to restart, to no avail.
>
> Is there a version of Mysql that can be installed with out
errors?
> Are there steps that am missing to make this run? I have
installed
> Mysql from ports before with no errors, so this is new.
>
> Thanks in advance,
I have MySQL-5 installed. It worked without incident. Might I
suggest
If you have portsclean installed, part of the portupgrade package,
please read the manual for it and run it.
"portsclean -CLP" should do the trick. Then update your ports tre e. I
would recommend 'portsnap' but that decision is up to you.
Then navigate to databases/mysql51-server
I would recommend that you delete that directory you created
manually.
It probably has the wrong permissions, etc. and will cause a build
problem.
Do the regular "make install && make clean" and you shoul good to go.
Place: mysql_enable="YES" in the /etc/rc.conf file and then eit her
reboot or run the rc.d file: /usr/local/etc/rc.d/mysql-server
start and
it will create the directories it requires. You still have to
create a
use though.
Ciao!
--
Gerard
_______________________________________________
[1]freebsd-questions at freebsd.org mailing list
[2]Ma claiming to be
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[3]freebsd-questions- unsubscribe at freebsd.org"
References
1. 3D"javascript:top.opencompose('freebsd-questions at freebsd.org','','' 2. file://localhost/tmp/3D"../parse.pl?redirect=http%3A%2F%2Flists.free 3. 3D"javascript:top.opencompos
More information about the freebsd-questions
mailing list