Linux服务器搭建mysql

mysql在linux云服务器里搭建好了,但是启动时报错,怎么解决
mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2021-06-29 19:54:33 CST; 1min 8s ago
Process: 1162790 ExecStopPost=/usr/libexec/mysql-wait-stop (code=exited, status=0/SUCCESS)
Process: 1162924 ExecStartPost=/usr/libexec/mysql-check-upgrade (code=exited, status=0/SUCCESS)
Process: 1162842 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS)
Process: 1162817 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 1162879 (mysqld)
Status: “Server is operational”
Tasks: 38 (limit: 11498)
Memory: 337.8M
CGroup: /system.slice/mysqld.service
└─1162879 /usr/libexec/mysqld --basedir=/usr

Jun 29 19:54:31 iZuf6639iymqeb0xdbr0raZ systemd[1]: Stopped MySQL 8.0 database server.
Jun 29 19:54:31 iZuf6639iymqeb0xdbr0raZ systemd[1]: Starting MySQL 8.0 database server…
Jun 29 19:54:33 iZuf6639iymqeb0xdbr0raZ systemd[1]: Started MySQL 8.0 database server.
[root@iZuf6639iymqeb0xdbr0raZ ~]# chkconfig --list |grep mysql

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

  If you want to list systemd services use 'systemctl list-unit-files'.
  To see services enabled on particular target use
  'systemctl list-dependencies [target]'.

日志没截全吗,没看到有啥报错信息啊。

image
我直接start启动时就抱这个错是啥意思呢

这不是报错的喔。只是重定向到systemctl来启动mysql的服务

噢,明白了,好像mysql8.0以上的都是用systemctl来启动的

Linux上数据库也配置好了,怎么才能在客户端navicat上去连接呢,ip地址和密码在哪里设置或者查看啊,求助

IP地址可以用Liunx的ip加数据库开放出来的端口号来进行连接,密码的话如果是用docker部署的话在你运行容器的命令找找