TAILIEUCHUNG - PHP and MySQL Web Development - P167

PHP and MySQL Web Development - P167: PHP and MySQL Web Development teaches the reader to develop dynamic, secure, commercial Web sites. Using the same accessible, popular teaching style of the first edition, this best-selling book has been updated to reflect the rapidly changing landscape of MySQL and PHP. | 802 Appendix A Installing PHP and MySQL If you move MySQL and intend to run the MySQL executable mysqld you must tell it where everything is by supplying command line options. Use C mysql bin mysqld -help to display all options. For example if you have moved the MySQL distribution to D programs mysql you must start mysqld with D programs mysql bin mysqld --basedir D programs mysql . If you move it and are running it as a Windows service you need to create an ini file called and place it in your main Windows ini file will have content something like this mysqld basedir D programs mysql bin datadir D programs mysql data In the NT 2000 XP setup the name of the MySQL server is mysqld-nt and it will normally be installed as a service. A service is a program that runs constantly in the background intended to provide services to other programs. They usually run automatically when you start the machine which will save you the effort of having to start them each time. You can install the MySQL server as a service by going to the windows command prompt and typing this cd c mysql bin mysqld-nt -install The response you should get is Service successfully installed. Now you can start and stop the MySQL service from the command line with NET START mysql NET STOP mysql Note the executable s name is mysqld-nt but the service s name is just mysql. If you run NET START mysql you should see the following message The MySql service is starting. The MySql service was started successfully. After the server has been installed it can be stopped started or set to start automatically using the Services utility found in Control Panel .To open Services click Start point to Settings and click Control Panel. Double-click Administrative Tools and then doubleclick Services. The Services utility is shown in Figure . If you want to set any MySQL options you must first stop the service and then specify them as startup parameters in the Services utility before restarting the .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.