ksweb的mysql不启动_mysql没启动成功,求解决

在尝试启动ksweb的MySQL服务时遇到问题,使用`./bin/mysql`命令后显示MySQL客户端信息,但无法成功启动服务。执行`./support-files/mysql.server start`时提示日志文件不存在且权限错误,导致启动失败。
摘要由CSDN通过智能技术生成

新建了一个mysql用户。启动mysql,后查看是否成功。结果没成功。

启动:

[root@izwz9ehou8f1mblwoj6hb4z mysql]# ./bin/mysql –user=mysql –basedir=/usr/local/mysql –datadir=/usr/local/mysql/data

./bin/mysql Ver 14.14 Distrib 5.7.24, for linux-glibc2.12 (x86_64) using EditLine wrapper

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Usage: ./bin/mysql [OPTIONS] [database]

-?, --help Display this help and exit.

-I, --help Synonym for -?

--auto-rehash Enable automatic rehashing. One doesn't need to use

'rehash' to get table and field completion, but startup

and reconnecting may take a longer time. Disable with

--disable-auto-rehash.

(Defaults to on; use --skip-auto-rehash to disable.)

-A, --no-auto-rehash

No automatic rehashing. One has to use 'rehash' to get

table and field completion. This gives a quicker start of

mysql and disables rehashing on reconnect.

--auto-vertical-output

Automatically switch to vertical output mode if the

result is wider than the terminal width.

-B, --batch Don't use history file. Disable interactive behavior.

(Enables --silent.)

--bind-address=name IP address to bind to.

--binary-as-hex Print binary data as hex

--character-sets-dir=name

Directory for character set files.

--column-type-info Display column type information.

-c, --comments Preserve comments. Send comments to the server. The

default is --skip-comments (discard comments), enable

with --comments.

-C, --compress Use compression in server/client protocol.

-#, --debug[=#] This is a non-debug version. Catch this and exit.

--debug-check This is a non-debug version. Catch this and exit.

-T, --debug-info This is a non-debug version. Catch this and exit.

-D, --database=name Database to use.

--default-character-set=name

Set the default character set.

--delimiter=name Delimiter to be used.

--enable-

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值