PDA

View Full Version : Phân biệt Client và Server trong MySQL



shuto_uke
22-01-2007, 17:46
Em đọc một tài liệu về MySQL thấy phân biệt giữa "Client program" và "Server program" mà chưa hiểu lắm.
Cụ thể là ở đây: http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html
Hiện máy em cài MySQL trên máy, chứa CSDL trên đó. Em vẫn dùng các chương trình như MySQLFront để truy cập CSDL. Vậy theo bài viết trên thì em phải cấu hình thế nào???
Mong các cao thủ đả thông tư tưởng giúp!

jiSh@n
31-01-2007, 20:22
Cái mà bạn gọi là MySQL dùng để chứa database là MySQL server. Những ứng dụng truy cập vào server như MySQLFront, phpMyAdmin... là MySQL client.

shuto_uke
03-02-2007, 13:43
Okie,
Vậy cấu hình cho MySQL client nghĩa là sao hả bạn ?

Both the client and the server have their own max_allowed_packet variable, so if you want to handle big packets, you must increase this variable both in the client and in the server.

Thanks!

jiSh@n
04-02-2007, 21:33
Okie,
Vậy cấu hình cho MySQL client nghĩa là sao hả bạn ?

Both the client and the server have their own max_allowed_packet variable, so if you want to handle big packets, you must increase this variable both in the client and in the server.

Thanks!

Bạn lấy cái câu đó từ đâu vậy :)
Cấu hình server thì sửa trong file config, hoặc dùng một trình quản lý như MySQL Administrator để thiết lập. Còn client thì tùy vào ứnhg dụng.

WHOisWHO
05-02-2007, 04:04
Okie,
Vậy cấu hình cho MySQL client nghĩa là sao hả bạn ?

Both the client and the server have their own max_allowed_packet variable, so if you want to handle big packets, you must increase this variable both in the client and in the server.

Thanks!

hit, cái này khó hỉu qué

shuto_uke
06-02-2007, 09:04
Bạn lấy cái câu đó từ đâu vậy :)
Cấu hình server thì sửa trong file config, hoặc dùng một trình quản lý như MySQL Administrator để thiết lập. Còn client thì tùy vào ứnhg dụng.
Mình lấy từ trang hướng dẫn này nè hix:
http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html