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

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

    Very weird, but I got this error when I made a typo in the my.cnf file.
    So it had nothing to do with the user directive not defined or not running as root-user.

    My mistake was:

    bind=192.168.1.2
    

    instead of

    bind-address=192.168.1.2
    

提交回复
热议问题