Datasheet

Book VIII
Chapter 1
Managing Your
Servers
877
Creating Your Own Server with XAMPP
Change the MySQL root password. If you haven’t already done so,
use the security link to change the MySQL root password, as shown in
Figure 1-5. (I show an alternative way to change the password in Book
VI, Chapter 1.)
Figure 1-5:
Changing
the MySQL
root
password.
Add an XAMPP Directory password. Type a password into the lower
half of the security form to protect your xampp directory from unau-
thorized access. When you try to go to the xampp directory, you’re
prompted for this password.
Security is always a compromise. When you add security, you often intro-
duce limits in functionality. For example, if you changed the root password
for MySQL, some of the examples (and phpMyAdmin) may not work any
more because they’re assuming that the password is blank. You often have
to tweak. See Chapter 1 in Book VI for a complete discussion of password
issues in MySQL and phpMyAdmin.
Compromising between functionality and security
You may be shocked that my example still has a couple of security holes. It’s
true, but it’s not quite as bad as it looks:
53_9780470537558-bk08ch01.indd 87753_9780470537558-bk08ch01.indd 877 10/7/10 8:58 PM10/7/10 8:58 PM