Browse to your MySQL's bin folder (e.g. C:\Joget-v4-Enterprise-4.0.2\mysql-5.0.96-win32\bin) in your command prompt.
เรียกดูโฟลเดอร์ bin ของ MySQL (เช่น C: \ Joget-v4-Enterprise-4.0.2 \ mysql-5.0.96-win32 \ bin) ในพรอมต์คำสั่งของคุณ |
Execute the following.
ดำเนินการต่อไปนี้ |
mysqld --installmysqld |
You will get the following when service is installed successfully.
คุณจะได้รับสิ่งต่อไปนี้เมื่อติดตั้งบริการเรียบร้อยแล้ว |
Service successfully installed |
You may verify it by going to your Windows's List of Services
คุณสามารถตรวจสอบได้โดยไปที่รายการบริการของ Windows |
You may encounter error 1067 while trying to start up the service. Possible reasons/solutions are:-
คุณอาจพบข้อผิดพลาด 1067 ในขณะที่พยายามเริ่มบริการ เหตุผล / วิธีแก้ปัญหาที่เป็นไปได้คือ: - |
Incorrect basedir value. Edit my.ini to include full path to your MySQL folder.
ค่าฐานที่ไม่ถูกต้อง แก้ไข my.ini เพื่อรวมเส้นทางแบบเต็มไปยังโฟลเดอร์ MySQL ของคุณ |
basedir="C:\Joget-v4-Enterprise-4.0.2\mysql-5.0.96-win32" |
Incorrect my.ini file loaded. Try to include the full path to the my.ini file in creating Windows service.
โหลดไฟล์ my.ini ไม่ถูกต้อง พยายามรวมเส้นทางแบบเต็มไปยังไฟล์ my.ini ในการสร้างบริการ Windows |
mysqld --install MySQL --defaults-file=C:\Joget-v4-Enterprise-4.0.2\mysql-5.0.96-win32\my.ini |
For more information, please refer to MySQL - Starting MySQL as a Windows Service
สำหรับข้อมูลเพิ่มเติมโปรดอ้างอิง MySQL - Starting MySQL as a Windows Service |