Record the pits you encountered when installing mysql on Linux

Record the pits you encountered when installing mysql on Linux

I have just been in the business for a long time, and Xiaobai has only recently come into contact with installing things in Linux. A pit I encountered when installing mysql today is supposed to be a sharing. Many people may have encountered it.

The installation process is not much to say, there are many installation documents on the Internet, and many versions have a lot of predecessors who have shared the version number. I installed version 5.7.20 today. It is also an installation document that you can find casually.
Insert picture description here
At this point, I believe everyone is familiar with installing mysql and its dependencies. It stands to reason that this should be copied and pasted into the Linux command line and then press Enter. But this step actually went wrong. Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
You can see that the file names in these command lines are exactly the same as the official website, so I just copied and pasted them. Then I kept reporting errors and repeatedly checked to make sure that I had transferred the file from local to Linux.

When I finally gave up, I copied the file name found by the ls command and it was successfully installed. I have repeatedly looked at it, and it is exactly the same, I really do n’t understand it, but it has become more memorable in the future, even if it looks exactly the same, only the file name found is copied.

Maybe this problem is a minor problem for you guys, but I think it might help some white people like me.

Finally, unless you are particularly proficient or uneasy, otherwise the trouble of setting a password is a bit more troublesome. I searched on Baidu, and after a period of time to solve it, I just patted my brain, this password, I just need to add a memo. Well, except logging in to Linux to set things up, I will use him again, and copy and paste in the configuration file. . What a superfluous thing.

Published an original article · Like1 · Visits2

Guess you like

Origin blog.csdn.net/weixin_45466321/article/details/105500986