This is G o o g l e's cache of http://www.debianclub.com/node/5 as retrieved on 16 Feb 2007 22:26:23 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?hl=en&q=cache%3Ahttp%3A%2F%2Fwww.debianclub.com%2Fnode%2F5&btnG=Search


Google is neither affiliated with the authors of this page nor responsible for its content.

User login

Links

debianclub.com
debian.org
ubuntuclub.com
blognone.com

Syndicate

Syndicate content

mysql บน debian 3.1r3: remote access

ผมใช้ mysql บน debian 3.1r3 ต้องการให้เครื่องอื่นเข้ามาใช้ database ได้
สมมุติว่าเครื่องนี้หมายเลย ip 192.168.1.1 นะครับ
ในเบื้องต้นเข้าใจ mysql ได้จากคำสั่ง mysql -ufoo -pmypass นะครับ

mysql> update user set host = '192.168.1.1' where user = 'foo';
mysql> flush privileges;

ไม่สามารถใช้คำสั่ง mysql -ufoo -pmypass -h192.168.1.1 ได้
(แต่ผมลองทำบน laptop ที่เอา package มาลงเองได้)

จึงอยากจะเรียนถามว่า mysql บน debian 3.1r3 มีอะไรแตกต่างจาก mysql 5.0.20a ที่เอามา package มาลงต่างหากหรือเปล่า?

ลองดู /etc/mysql/my.cnf ครับ

Default มันเป็น
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1
#
# * Fine Tuning
#

ขอบคุณมาก

ขอบคุณมากครับ