Installing MySQL Workbench but File /etc/my.cnf doesn't exist

前端 未结 3 1313
栀梦
栀梦 2021-01-12 20:27

I managed to download the MySQL DMG archive to my OS (mac OS X). It works if I use the command line. Now, I\'m trying to install MySQL Workbench. I\'ve created MySQL Connect

相关标签:
3条回答
  • 2021-01-12 20:57

    I figured it out:

    1. Went to my terminal and typed:

       passwd
       Old password was blank
       I created a new password (it was THAT simple)
      
    2. I created a "etc" directory

    3. I checked the files under /usr/local/mysql/support-files/ and saw my cnf file was actually named my-default.cnf and not my-huge.cnf like the developer at the MySQL site.

    4. So I typed: sudo cp my-default.cnf /etc/my.cnf

    5. went back to the Workbench and it FINALLY said:

      Testing host machine settings is done.

    0 讨论(0)
  • 2021-01-12 21:12

    The MySQL Server installation on OS X does not include a cnf file, so it is normal that you get the warning. Nonetheless you can continue creating the connection without problems (ignore the warning). When you start MySQL Workbench afterwards and try to manage the configuration of the server, you will get another warning, but you can continue and MySQL Workbench creates the cnf file for you. No need to do all that manually.

    0 讨论(0)
  • 2021-01-12 21:19

    I met this problem too. I just clicked the continue button until i was at "Review remote management settings" step, and stop here click "change parameters", then continue. At "Path to configuration file" choose the path point to my-default.cnf. Then check path, it works

    0 讨论(0)
提交回复
热议问题