13.mysql在mac上安装遇到的一些坑

之前不明白,为什么看的书也好,blog也好,都说安装和布置工作环境是一件很难和痛苦的事情,不就是点击一下安装包就完事了嘛。直到自己也到了这一天。在安装mysql就这么一天就过去了。

  1. 先是健哥介绍用docker装centos和mysql很方便,捣鼓了半天终于把centos装上了,但是在docker里装mysql好像挺麻烦,搜索的资料也提到好像不安全之类的。
  2. 然后回过头想,别管那么多了,直接先跑起来再说吧,直接就跟着教程在mac环境下直接去官网下载mysql。
  3. 结果速度贼慢,也好,后面找到了迅雷下载的方法。
  4. 跟着视频做,到后面又卡在了一个mysql workbench无法启动的问题,百度后,让试一下低版本的worbench。
  5. 总算能打开,然后却是无法链接?What?再一查,说的是caching_sha2_password有问题,mysql5.8从开始将caching_sha2_password作为默认的身份验证插件,而在MySQL 5.7中,默认的身份验证插件是 mysql_native_password!想着【这个时候可以修改 user 表中的密码规则,回到mysql5.7的密码验证格式就好】。
  6. 新问题,在终端里输入mysql提示根本没法找到命令,于是,查到【这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,当然会找不到命令,我们需要做的就是映射一个链接到/usr/bin目录下,相当于建立一个链接文件】。
  7. 再出现新问题,提示【Read-only file system】,于是再跟着教程解决【当mac更新到macOS Catalina之后,由于所有的系统文件都被分配到一个单独的卷宗,且此卷宗只有可读的属性的问题】,去操作关闭电脑的安全限制SIP。
  8. 终于可以执行映射的命令,终端出现permission denied,跟着教程走:第一步:命令行中输入sudo passwd,然后根据提示一直输入密码;第二步:输入su root就成功了。可算回到正题上。
  9. 跟着其他页面的教程,一直没有把分号输进去,导致一直执行反馈的没有反应,可恨的是也没报错,就是没反馈,醉了。

10.到这里,终于链接上了。感觉一口老血要喷出来了!

11,762 thoughts on “13.mysql在mac上安装遇到的一些坑

  1. cheap lasix There are at least two dimensions to consider when applying the targeted action of oestrogen to the tumour the nature of the oestrogen ER complex and the length of time that oestrogen must be administered to initiate the apoptotic cascade

  2. HER2 and basal like subtypes can already be identified using fluorescence in situ hybridization and immunostaining for ER, PR and HER2 buy cialis online india Middle Representative cell overexpressing Mad2 with a chromosome bridge white arrow stays longer in mitosis and exits at 1 hr 25 min with a missegregated chromosome arrow

  3. d Crystal structure PDB ID 7EW9 of KRAS G12D bound to TH Z816 white stick buy cialis online cheap The effects on performance as with the other parameters were mostly significant in a linear fashion, although a modest quadratic effect was found for the G F ratio in the first 14 d only, and for the jejunal expression of IL 1ОІ, both without a concurrent linear effect

  4. Reading your article has greatly helped me, and I agree with you. But I still have some questions. Can you help me? I will pay attention to your answer. thank you.

  5. When I initially commented I seem to have clicked on the -Notify
    me when new comments are added- checkbox and from now on each time a
    comment is added I get 4 emails with the exact same comment.
    Is there an easy method you can remove me from that service?
    Appreciate it!

  6. Hi there, I discovered your site by way of Google at the
    same time as looking for a comparable matter, your web site came up, it looks good.
    I have bookmarked it in my google bookmarks.
    Hello there, simply turned into alert to your blog via Google, and found that it is
    truly informative. I’m gonna be careful for brussels.

    I’ll appreciate in case you continue this in future.
    Lots of folks can be benefited from your writing. Cheers!

  7. Hey there I am so delighted I found your site, I really found you by mistake, while I was browsing on Askjeeve for something else,
    Anyhow I am here now and would just like
    to say cheers for a fantastic post and a all round exciting
    blog (I also love the theme/design), I don’t have time to look over it all at the minute but
    I have book-marked it and also included your RSS feeds, so
    when I have time I will be back to read a lot more, Please do keep up the awesome work.

  8. My brother suggested I might like this web site. He was entirely right.
    This post truly made my day. You can not imagine just how much time I had spent for this
    information! Thanks!

  9. I feel this is one of the so much significant info for me.

    And i’m glad studying your article. However want to commentary on few
    common issues, The web site style is wonderful,
    the articles is truly great : D. Good process, cheers

  10. Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You obviously know what youre talking about, why waste your intelligence on just posting videos to your weblog when you could be giving us
    something enlightening to read?

  11. I am a website designer. Recently, I am designing a website template about gate.io. The boss’s requirements are very strange, which makes me very difficult. I have consulted many websites, and later I discovered your blog, which is the style I hope to need. thank you very much. Would you allow me to use your blog style as a reference? thank you!