

With no log file you'll want to be using the control panel 3 but check also that it may already be in your xampp folder. Is this correct?įor the benefit of anyone with the same problem, what I've learned so far is that if there is no log file, it means that Apache has never started. To me this means that I'm going to place the demonstration files (downloaded for the book) in the htdocs folder, and point the program that runs them to the chapter 1-19 folder or file.

Following these installation instructions, this would be C:\xampp\htdocs. Your Web root directory-where your PHP scripts should be placed in order to test them-is the htdocs folder in the directory where XAMPP was installed. Looking ahead to when I have this working, I noticed this instruction: In return I get an error beep and the following:ĮRROR 1044 (42000): Access denied for user to database 'mysql'
INETINFO EXE PORT 80 PASSWORD
SET PASSWORD FOR localhost' = PASSWORD ('thepassword') except with my own password (letters and numbers) It seems that I need to now go back to Appendix A "To assign a password to the root user via the MySQL client" I then type in as instructed:
INETINFO EXE PORT 80 HOW TO
I don't know how to use the command-line mysql client so I go to the Accessing MySQL section of Chapter 4, “Introduction to MySQL.” I use the command window and navigate to a c:\ prompt and type in C:\xampp\mysql\bin\mysql which returns a mysql> prompt. I'm not on a hosted server so my understanding is that I can't use PHPadmin Next I'm following the instruction to "Immediately change the password for the root MySQL user" I installed the xampp folder in by c:/ directory. Set a password for the root MySQL user - in short the problem is that when I attempt to set the root passwod I get the error ERROR 1044 (42000): Access denied for user to database 'mysql' In the book there is a picture of the control panel that shows both indicators on at the same time. Is this normal and is Apache running, even when the indication goes away? The log at the bottom of the window says:įYI, when I start MySQL the "running" indicator stays on. However when I click the Apache "Start" button I only get a very brief green "running" indication and then it goes away. " message at the end of it, as shown in the book. XAMPP - The installation seems to have gone fine, and I got the "Congratulations. I'm having some trouble with the installation and hoping I can get some help here, since I can't really proceed with the book until I've got the development environment installed properly.
