hn4u @ Last updated 21/11/04 22:42
Go to my homepage at http://4u.jcisio.com
Full version available at http://4u.jcisio.com/r/article1505.htm

Hải Nam

Cài đặt mysql như một dịch vụ

Thông thường, khi bạn tải bản MySQL noinstall về giải nén và chạy mysqladmin lần đầu thì mysql sẽ tự động đăng kí như một dịch vụ trên Windows. Tuy nhiên, bài này sẽ chỉ các bước cụ thể "phòng khi bất trắc":

- Đảm bảo MySQL đã được tắt

D:\mysql-4.0.14b-win-noinstall\bin>mysqladmin -u root -p shutdown

- Giờ cài MySQL ở chế độ Automatic

D:\mysql-4.0.14b-win-noinstall\bin>mysqld-nt --install

- Nếu muốn xoá

D:\mysql-4.0.14b-win-noinstall\bin>mysqld-nt --remove

- Cài MySQL ở chế độ Manual

D:\mysql-4.0.14b-win-noinstall\bin>mysqld-max-nt --install-manual


hainam4u @ Last updated 21/11/04 22:42
Go to my homepage at http://4u.jcisio.com