May 13, 2011

MySQL安裝紀錄 for FreeBSD

# cd /usr/ports/database/mysql51-server

# make WITH_CHARSET=utf8 install clean

# chown -R mysql:mysql /var/db/mysql

# /usr/local/bin/mysql_install_db

# vi /etc/rc.conf

mysql_enable="YES"

 

# cp /usr/local/share/mysql/my-huge.cnf /etc/my.cnf

# vi /etc/my.cnf

 

[mysqld]

default-character-set = utf8

[client]

default-character-set = utf8

 

# /usr/local/etc/rc.d/mysql-server start

# mysqladmin -u root -p password '密碼'

# mysql -p

0推薦此文章
Today's Visitors: 0 Total Visitors: 8
Personal Category: 上班 Topic: technology / tech info / programming
歷史上的今天:
[Trackback URL]

Reply
  • 1樓

    1樓搶頭香

    hkqnd <p>
    還行!加油!<br>
    GAY男同志視訊聊天室<br>
    http://yahoo.GoGoBoy.TV<p>

    p <br>

  • at December 17, 2012 12:23 PM comment
Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0