Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 11:16:59 -0400
From:      "Bob" <bob@a1poweruser.com>
To:        "Agus" <agus.262@gmail.com>, "freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   RE: Mysqld-server errors starting...
Message-ID:  <NBECLJEKGLBKHHFFANMBAEJDCCAA.bob@a1poweruser.com>
In-Reply-To: <fda61bb50705182018qd94768ak602a75820f0cf175@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Here are the things you have to do to activate MySql after installing the
port.

To autostart mysql at boot add this to /etc/rc.conf
mysql_enable="YES"

To start or stop mysql server do this
/usr/local/share/mysql/mysql.server start
/usr/local/share/mysql/mysql.server stop

You have to tell mysql to create its internel control db
by running this command.
mysql_install_db --user=mysql

To verify mysql is operational issue these commands
mysqladmin version
mysqladmin variables

To start command line session with mysql server to
create a DB enter
mysql -u root

The online mysql manual is at
http://dev.mysql.com/doc/refman/5.0/en/index.html

The mysql databases and log files are written here
/var/db/mysql


-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Agus
Sent: Friday, May 18, 2007 11:19 PM
To: freebsd-questions
Subject: Mysqld-server errors starting...

Hi all...
I got a problem starting the server....

/usr/local/libexec/mysqld: cant read dir or  '/tmp/' (Errcode: 13)

and a few more lines....

i read sthg about permitions, but i checked /tmp perms and everybody con
write there...

thanks....
_______________________________________________
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NBECLJEKGLBKHHFFANMBAEJDCCAA.bob>