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
Hello everyone, today I want to share with you ho...
Table of contents Message Board Required librarie...
Preface I believe that everyone has had experienc...
Because li is a block-level element and occupies ...
Even though it's not Halloween, it's wort...
Table of contents In vue2 In vue3 Notes on setup ...
1. What are the formats of lines? You can see you...
Cluster Deployment Overview 172.22.12.20 172.22.1...
The order in which objects call methods: If the m...
Docker-compose deploys gitlab 1. Install Docker I...
I have been in contact with MGR for some time. Wi...
What is MySQL multi-instance Simply put, MySQL mu...
I have always used Loadrunner to do performance t...
TOP Observation: The percentage of CPU time occup...
Openlayers is a modular, high-performance and fea...