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

前端 未结 14 1882
感动是毒
感动是毒 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:25

    I also had the same problem and able to resolve after using below command

    /root/mysql-sandboxes/3320/bin/mysqld --defaults-file=/root/mysql-sandboxes/3320/my.cnf  --user=root &
    
    0 讨论(0)
  • 2020-12-23 14:25

    I had this issue while running MySQL on Minikube (Ubuntu box) and I solved it with:

    sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
    sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
    
    0 讨论(0)
提交回复
热议问题