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

前端 未结 3 1315
栀梦
栀梦 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.

提交回复
热议问题