Why is the installation of the Guset project unsuccessful in chapter 2 of the first season of php by Li Yanhui? I followed the instructor step by step. please kindly advise. thank you! Webpage prompt: Warning: mysql_connect (): Access denied for user 'root' @ 'localhost' (using password: YES) in D: \ AppServ \ www \ Guest \ conn. php on line 6 (several garbled Diamond characters)
(Sorry, the image cannot be uploaded)
Ps: The database has been loaded successfully.
Reply to discussion (solution)
The MySQL login password is incorrect.
Change the character set of the browser to gb2312 to see what garbled text is.
The database password is incorrect.
You did this step by step, but you have to change the mysql configuration parameters, user name and password.
Thank you for setting the database logon name and password. How can I import the guest database successfully? However, the website cannot be opened through http: // localhost: 8082/guest in the browser window.
This is the imported database.
This is an error message.
Isn't it clear that the root user's password is incorrect?
You set the password. you didn't change it in the program.
Change the password in mysql_connect () in conn. php to your local mysql root password.
I don't know. I remember that I set the user name root and password XXXX. How can I change it? Thank you ~
Thank you for solving the problem ~~ Thank you ~~~
Enter the username and password you used in phpMyAdmin in the configuration file of the program.
You are teaching you how to build a project? What is a teacher?
Upstairs, I am angry because of my poor basic knowledge. The teacher's previous courses should be explained, but I did not read them. thank you for your understanding. I also thank the teacher for his education ~~~