- 论坛徽章:
- 2
|
liblthread.so.2,请帮我locate 一下
cd /usr/ports/databases/mysql40-server
make install clean;
/usr/local/bin/mysql_install_db
chown -R mysql /var/db/mysql
启动mysql
/usr/local/bin/mysqld_safe &
/usr/local/bin/mysqladmin -u root password '×××××'
rehash
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 4.0.24
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>; exit
Bye
在/etc/rc.conf里面加入mysql_enable="YES" |
|