Mysqld-server errors starting...

Bob bob at a1poweruser.com
Sun May 20 15:17:00 UTC 2007


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 at freebsd.org
[mailto:owner-freebsd-questions at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list