当前位置:网站首页>Using WordPress to create a MySQL based education website (learning notes 2) (technical notes 1) xampp error1045 solution

Using WordPress to create a MySQL based education website (learning notes 2) (technical notes 1) xampp error1045 solution

2022-06-23 01:29:00 FS9000

Project background 、 Technology stack

This is an educational website created according to the needs of Party A
Use XAMPP stay MySQL On the server of the database, set up a beautiful and dynamic education website facing the needs of target customers , Attached are WP file 、 Website Demo 、 Party A's demand and website wireframe . Used Genesis Columns Advanced plugin; Pricing table by Supsystic; Easy Accordion; Meta Slider-Carousel; Contact Form Etc .

Project introduction

Figure 1 ( home page ):

Figure 2 ( card ):

                                                                         Figure 3 (team):

  Figure 4 ( Wheel planting ):

  Figure 5 ( price list ):

Figure 6 ( Column ): 

Figure 7 (blog): 

                                                                        Figure 8 (music): 

Figure nine (contact): 

Project difficulties

The difficulty of this project is mainly to enter XAMPP There is Access denied, It seems to be related to port and account ,

May be My SQL As a result of , By looking up the information , Online said , appear Access denied The reasons for this are as follows :
(1)MySQL My server stopped
(2) The user's port number or IP Cause access to be denied
(3)MySQL Configuration file error for (my.ini Wait for the documents )
(4)root The user's password is wrong

The solution is as follows :

This is for   error1045   Methods , It works in theory , It is most likely 3 or 4 Two kinds of questions :

Method 1 : Try it first , modify my.ini,
Because this change will not have a bad effect , You can xampp Search this file directly in

  This is my present file
The tutorial lets you replace all ports with port=X, I think 3306 Change to 3305 It should work ,
The following figure shows my current configuration , Although I am not all 3305, But it can also be used , You can change it by comparison

The tutorial says that it's OK to change everything , You can decide for yourself ,
It seems that there are only two “port=...”

After the change, see if you can log in ,
Restart and reopen the web page several times

  If not, change the password , Method 2 The tutorial is as follows :

then

Method 1 reference :https://blog.csdn.net/u012730299/article/details/51840416

Method 2 reference :https://blog.csdn.net/fores_t/article/details/92085383
The first one should be simpler than the second one , But the comment area points out that the operation of the new version will be a little different ,

And it is related to everyone's installation position , You need to pay attention to

FangSen9000/Wordpress-edu: Use Wordpress Create based on MySQL Education website for (github.com)

Github Only introductory resources , Baidu Yunyou wordpress file

  Baidu SkyDrive Please enter the extraction code   Work link extraction code :FS98

原网站

版权声明
本文为[FS9000]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202220519513986.html