install web server กับ freebsd 6.X : part II ติดตั้ง mysql

1. ติดตั้ง ตามคำสั่งข้างล่างเลยครับ

cd /usr/ports/databases/mysql50-server
make install clean

จากนั้นรอนานพอสมควรครับ

2.สั่งให้ service ทำงานเมื่อเปิดเครื่อง

echo ‘mysql_enable=”YES”‘ >> /etc/ rc.conf

หรือจะเข้าไปแก้ในไฟล์เลยก็ได้ครับ จากนั้น reboot เครื่องครับ

3. สร้าง user และ password

mysqladmin -u root password newpassword

4. จบครับ

Share this article: You can download this plugin at e4share.com
  • Zickr
  • Duocore
  • Kudd
  • Lunlala
  • Dunweb
  • Techkr
  • Bogtor
  • Kez6
  • JeedZa
  • Left Hit
  • Siam Collective
  • del.icio.us
  • Digg
  • Google
  • Technorati
  • Thai Health
  • YahooMyWeb
อ่าน :186

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
ส่งบทความให้เพื่อน ส่งบทความให้เพื่อน
หัวข้อที่น่าจะเกี่ยวข้อง

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: