2007/5/20, Bob <[EMAIL PROTECTED]>:


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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 "
[EMAIL PROTECTED]"

Thanks for the answer...i did all that and it was working fine for about a
month....Now suddenly i got this errors....

thanks
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to