PHP and MySQL Web Development - P44

PHP and MySQL Web Development - P44: 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. | 182 Chapter 8 Creating Your Web Database Setting up your path Running mysql_install_db if required Setting the root password Deleting the anonymous user and the test database Starting the MySQL server and setting it up to run automatically If you ve done all those things you can go right ahead and read this chapter. If you haven t you can find instructions on how to do these things in Appendix A Installing PHP 4 and MySQL. If you have problems at any point in this chapter it might be because your MySQL system is not set up correctly. If that happens refer back to this list and Appendix A to make sure that your setup is correct. Have access to MySQL on a machine that you do not administer such as a Web hosting service a machine at your workplace and so on. If this is the case in order to work through the examples or to create your own database you ll need to have your administrator set up a user and database for you to work with and tell you the username password and database name they have assigned to you. You can either skip the sections of this chapter that explain how to set up users and databases or read them in order to better explain what you need to your system administrator. As a normal user you won t be able to execute the commands to create users and databases. The examples in this chapter were all built and tested with MySQL version . Some earlier versions of MySQL have less functionality. You should install or upgrade to the most current stable release at the time of can download the current release from the MySQL site at http . A Note on Using the MySQL Monitor You will notice that the MySQL examples in this chapter and the next end each command with a semicolon .This tells MySQL to execute the command. If you leave off the semicolon nothing will happen. This is a common problem for new users. This also means that you can have new lines in the middle of a have used this to make the examples easier to will

Không thể tạo bản xem trước, hãy bấm tải xuống
Đã 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.