#cat /etc/systemd/system/mysqld.service [Unit] Description=GreatSQL Server [Install] WantedBy=multi-user.target [Service] # some limits # file size LimitFSIZE=infinity # cpu time LimitCPU=infinity # virtual memory size LimitAS=infinity # open files LimitNOFILE=65535 # processes/threads LimitNPROC=65535 # locked memory LimitMEMLOCK=infinity # total threads (user+kernel) TasksMax=infinity TasksAccounting=false User=mysql Group=mysql #Type=simple Type=notify PIDFile=/data/mysql/run/mysql.pid TimeoutSec=0 PermissionsStartOnly=true ExecStartPre=/usr/local/mysql/bin/mysqld_pre_systemd ExecStart=/usr/local/mysql/bin/mysqld --defaults-file=/etc/my.cnf $MYSQLD_OPTS EnvironmentFile=-/etc/sysconfig/mysql Restart=on-failure RestartPreventExitStatus=1 Environment=MYSQLD_PARENT_PID=1 PrivateTmp=false AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW 在执行 systemctl daemon-reload mysqld.service 报错如下 Invalid number of arguments. 不知道哪里有错误能帮忙看一下吗 |
KAiTO
2024-4-18 17:31:37
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com