set global event_scheduler=1; Error Code: 1290.
489 ワード
今日mysqlデータベースのeventイベントのオープンを設定中に次のエラーが発生しました.
Error Code: 1290. The MySQL server is running with the --event-scheduler=DISABLED
or --skip-grant-tables option so it cannot execute this statement
開けません.後で分かった.mysqlがwindowsの下にインストールされている場合、デフォルトではシステム属性を変更する権限がオンになります.
mysqlがlinuxシステムの下にインストールされている場合、システムのプロパティを変更するスイッチはオフになります.手動でプロファイルを変更する必要があります.
Error Code: 1290. The MySQL server is running with the --event-scheduler=DISABLED
or --skip-grant-tables option so it cannot execute this statement
開けません.後で分かった.mysqlがwindowsの下にインストールされている場合、デフォルトではシステム属性を変更する権限がオンになります.
mysqlがlinuxシステムの下にインストールされている場合、システムのプロパティを変更するスイッチはオフになります.手動でプロファイルを変更する必要があります.
mysql my.ini, [mysqld] :event_scheduler=ON。 mysql event sheduler