简体   繁体   中英

Mac OS Yosemite : How to start mysql and connect Sequel Pro?

I have just installed MySQL using the installation documentation .

MySQL is installed in the directory /usr/local as indicated in the documentation.

I attempted to start MySQL using the following command on the command line:

/Library/StartupItems/MySQLCOM/MySQLCOM start
  1. Is it normal that I did not receive a message in the terminal that MySQL has started.

  2. Where is the configuration file location (where do I find the root user account)?

  3. After running the MySQL start command, I launched Sequel Pro, but I cannot connect to 127.0.0.1. How can I connect to this? Here is a screenshot of what happens when I attempt to connect: 在此处输入图片说明

I would just like to to start mysql and connect a gui client, what am I missing?

you need to be root to start the service.

type sudo /Library/StartupItems/MySQLCOM/MySQLCOM start

MySQL is configured to listen to port 3307 when installed on Yosemite. After you verify that effectively you started the service, change the Port parameter on your Sequel Pro access window and try again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM