MySQL error! The server quit without updating PID file (/usr/local/mysql/data/laolinghundembp.pid

Source: Internet
Author: User

This problem occurs after installation if you have not set it. When you turn on your computer, MySQL will start it on its own. (Click on the MySQL logo at the bottom of System preferences to view it). It should be the latest version of MySQL that does not support previous login commands.

Just installed MySQL if input MySQL order will prompt no commod not found

At this point we need to add MySQL to the system environment variable

1. 执行vim ~/.bash_profile 加入 先输入i 进行编辑
PATH=$PATH:/usr/local/mysql/bin 
esc推出 在输入 :wq! 保存退出 。
2.然后 输入 mysql -u root -p 会车 输入你的密码 默认密码root 即可登陆mysql

MySQL error! The server quit without updating PID file (/usr/local/mysql/data/laolinghundembp.pid

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.