Fatal error: Please read “Security” section of the manual to find out how to run mysqld as root

前端 未结 14 1955
感动是毒
感动是毒 2020-12-23 13:25

I am not sure how to fix this:

dyn-72-33-214-45:python mona$ sudo /usr/local/mysql/bin/mysqld stop
2014-09-06 09:49:04 0 [Warning] TIMESTAMP with implicit DE         


        
14条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 14:09

    How i resolved this was following the 4th point in this url: https://dev.mysql.com/doc/refman/8.0/en/changing-mysql-user.html

    1. Edit my.cnf
    2. Add user = root under under [mysqld] group of the file

    If this doesn't work then make sure you have changed the password from default.

提交回复
热议问题