• Dịch vụ Quản trị máy chủ
  • Liên hệ quảng cáo
Thứ Tư, Tháng 2 11, 2026
  • Login
cPanel.vn
AZDigi
  • Home
  • Control Panel
    • cPanel/WHM
    • Direct Admin
    • HELM
    • Hosting Controller
    • IspConfig
    • Kloxo-LxAdmin
    • LNMP
    • Plesk
    • Webmin
  • Domain – Hosting
    • Hosting
    • Tên miền
  • Ảo hóa
    • Virtuozzo
    • VMWare
  • Hệ điều hành
    • Linux
    • Windows
  • Internet
    • Thế giới AI
    • Thủ thuật SEO
    • Nhiếp ảnh
  • Server
    • VPS
    • Web Server
    • Email Server
    • Database Server
      • MSSQL
      • MySQL
  • WordPress
    • Themes
No Result
View All Result
  • Home
  • Control Panel
    • cPanel/WHM
    • Direct Admin
    • HELM
    • Hosting Controller
    • IspConfig
    • Kloxo-LxAdmin
    • LNMP
    • Plesk
    • Webmin
  • Domain – Hosting
    • Hosting
    • Tên miền
  • Ảo hóa
    • Virtuozzo
    • VMWare
  • Hệ điều hành
    • Linux
    • Windows
  • Internet
    • Thế giới AI
    • Thủ thuật SEO
    • Nhiếp ảnh
  • Server
    • VPS
    • Web Server
    • Email Server
    • Database Server
      • MSSQL
      • MySQL
  • WordPress
    • Themes
No Result
View All Result
cPanel.vn
No Result
View All Result
Home Control Panel cPanel/WHM

MySQL Tweaking – Tối ưu MySQL

cPanel.vn by cPanel.vn
16/02/2011
in cPanel/WHM, MySQL
Reading Time: 1 min read

Với cPanel hay cài đặt MySQL bình thường bao giờ sau khi cài xong MySQL cũng chạy với những config mặc định. Nó không tối ưu và tốt cho server. Đặc biệt là với hosting provider.
Đây là cấu hình tốt cho MySQL.
Sửa file /etc/my.cnfXóa hết nội dung đã có, thay thành:

[mysqld]
max_connections=900
max_user_connections=50
skip-locking
skip-innodb
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
interactive_timeout=50
wait_timeout=50
connect_timeout=10
thread_cache_size=128
key_buffer=256M
max_allowed_packet=16M
table_cache=1024
join_buffer=1M
sort_buffer_size=1M
read_buffer_size=1M
max_connect_errors=10
thread_concurrency=4
myisam_sort_buffer_size=64M
log-bin
server-id=1

[safe_mysqld]
open_files_limit=8192

[mysqldump]
quick
max_allowed_packet=16M

[mysql]
no-auto-rehash
[isamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[mysqlhotcopy]
interactive-timeout

Tags: cpanelmysql
Previous Post

Bị mất IUSR_Computername

Next Post

Cấu hình Webmail Mdaemon chạy trên IIS qua cổng 80

Có thể bạn quan tâm

CSF - Firewall miễn phí trên Linux
cPanel/WHM

Cài đặt firewall CSF trên DirectAdmin và cPanel

08/06/2014
Cài đặt phpMyAdmin trên CentOS
Linux

Cài đặt phpMyAdmin trên CentOS

21/07/2011
Nâng cấp cPanel.vn
cPanel/WHM

Nâng cấp cPanel.vn

10/12/2013
MySQL hiển thị 0 MB trong cPanel
cPanel/WHM

MySQL hiển thị 0 MB trong cPanel

10/12/2013
Next Post
Cấu hình Webmail Mdaemon chạy trên IIS qua cổng 80

Cấu hình Webmail Mdaemon chạy trên IIS qua cổng 80

Comments 1

  1. Lovetolove says:
    14 năm ago

    Bạn có thể Config cho mình cái VPS không?
    Guaranteed Memory: 1024 MB & Burstable Memory: 1536 MB

    Thank you so much.

    Bình luận

Để lại một bình luận Hủy

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Nên xem.

Làm gì khi website báo lỗi Server Error in ‘/’ Application

Làm gì khi website báo lỗi Server Error in ‘/’ Application

25/05/2014
Thông báo buồn tẻ trên các hệ thống của VC Corp

Toàn bộ hệ thống VC Corp đã ra đi

03/09/2012
Liên hệ quảng cáo Liên hệ quảng cáo Liên hệ quảng cáo

Đang HOT.

Khắc phục lỗi “The system administrator has set policies to prevent this installation” trên VMWare Server

Khắc phục lỗi “The system administrator has set policies to prevent this installation” trên VMWare Server

20/07/2011
Một số lệnh ẩn trong RUN

Một số lệnh ẩn trong RUN

10/12/2013
Dịch tiếng trong video Youtube tự động với công cụ AI Youtube Dubbing

Dịch tiếng trong video Youtube tự động với công cụ AI Youtube Dubbing

08/10/2025

Từ một ngã tư đường phố – Mạnh Hà – Thúy Hà

29/04/2012

Thay đổi giới hạn Bandwidth thông qua SSH

16/02/2011
cPanel.vn

cPanel.vn

Chia sẻ kiến thức và kinh nghiệm quản trị máy chủ, tên miền, email, hosting cũng như các thủ thuật máy tính, công nghệ thông tin.

Liên hệ quảng cáo: haomd@cpanel.vn

Follow Us

Danh mục

  • Control Panel
  • cPanel/WHM
  • Direct Admin
  • Domain/Host/Server
  • Email Server
  • HELM
  • Hosting
  • Internet
  • Kloxo-LxAdmin
  • Linux
  • LNMP
  • MSSQL
  • MySQL
  • Nhiếp ảnh
  • Plesk
  • Tên miền
  • Thế giới AI
  • Themes
  • Thủ thuật SEO
  • Virtuozzo
  • VMWare
  • VPS
  • Web Server
  • Windows
  • Wordpress

Thẻ

123system 123systems backup ca si ngan khanh CentOS cpanel CSF directadmin facebook google google apps google music beta green value host greenvaluehost hack tên miền how to install kenh14 kenh14.vn khuyến mãi kloxo kênh 14 kênh 14 bị hack like fanpage linux lnmp mime type mysql ngân khánh outlook phpmyadmin tên miền tên miền miễn phí vietidc vmware vmware server VPS vps giá rẻ vps miễn phí vtc vtca vtc academy windows windows xp đăng ký tên miền ưu đãi
  • Giới thiệu
  • Quảng cáo
  • Dịch vụ

© 2008 - 2024 cPanel.vn - Powered by VietIDC and Raspberry Pi Việt Nam.

No Result
View All Result
  • Home
  • Control Panel
    • cPanel/WHM
    • Direct Admin
    • HELM
    • Hosting Controller
    • IspConfig
    • Kloxo-LxAdmin
    • LNMP
    • Plesk
    • Webmin
  • Domain – Hosting
    • Hosting
    • Tên miền
  • Ảo hóa
    • Virtuozzo
    • VMWare
  • Hệ điều hành
    • Linux
    • Windows
  • Internet
    • Thế giới AI
    • Thủ thuật SEO
    • Nhiếp ảnh
  • Server
    • VPS
    • Web Server
    • Email Server
    • Database Server
      • MSSQL
      • MySQL
  • WordPress
    • Themes

© 2008 - 2024 cPanel.vn - Powered by VietIDC and Raspberry Pi Việt Nam.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In