The first time I installed MySQL on my virtual machine, I encountered many problems. I wrote them down here and shared them with you. linux centOS 6 mysql version 1. 2. 3. Unzip the downloaded package, 4. Directory after decompression: 5. 6. 7. 8. There are many tutorials online that use the Here you need to record the generated temporary password, as shown above: YLi>7ecpe;YP 9. 10. Enter mysql 11. I found that this version does not have Now it's time to create one ourselves (the internal code is shown in the figure): The values corresponding to the two sockets (red) below must be consistent, otherwise the connection will not work after startup. : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 12. 13. 14. 13. 14. Enter a temporary password 15. Change the root password of MySQL At this time, mysql can only be accessed by local localhost 16 Modify remote access Restart MySQL service At this point, you can use MySQL normally locally Testing Remote Connection Summarize The above is a summary of the problems of installing MySQL5.7.19 under Linux introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Tips for viewing History records and adding timestamps in Linux
>>: Organize the common knowledge points of CocosCreator
1. Basic knowledge (methods of date objects) 😜 ge...
Preface In many cases, we will use virtual machin...
Table of contents 1. Database Operation 1.1 Displ...
This article shares the specific code of JS to ac...
Some time ago, the project needed to develop the ...
Specific method: First open the command prompt; T...
BFC Concept: The block formatting context is an i...
Website administrators often accidentally delete ...
Table of contents 1 Test Environment 1.1 Server H...
We better start paying attention, because HTML Po...
This article records the installation tutorial of...
JS provides three methods for intercepting string...
20200804Addendum: The article may be incorrect. Y...
1. Question: I have been doing insert operations ...
*Create a page: two input boxes and a button *Cod...