[root@localhost ~]# systemctl status mysqld
● mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled)
Active: inactive (dead)
[root@localhost ~]# systemctl enable --now mysqld
Created symlink /etc/systemd/system/multi-ser.target.wants/mysqld.service → /usr/lib/systemd/system/mysqld.service.
그리고 다시 상태확인
[root@localhost ~]# systemctl status mysqld
● mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2021-12-05 15:34:28 KST; 38s ago
Process: 88392 ExecStartPost=/usr/libexec/mysql-check-upgrade (code=exited, status=0/SUCCESS)
Process: 88250 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS)
Process: 88224 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 88345 (mysqld)
Status: "Server is operational"
Tasks: 38 (limit: 74858)
Memory: 464.0M
CGroup: /system.slice/mysqld.service
└─88345 /usr/libexec/mysqld --basedir=/usr
12월 05 15:34:16 localhost.localdomain systemd[1]: Starting MySQL 8.0 database server...
12월 05 15:34:16 localhost.localdomain mysql-prepare-db-dir[88250]: Initializing MySQL database
12월 05 15:34:28 localhost.localdomain systemd[1]: Started MySQL 8.0 database server.
'얕고넓은지식 > linux' 카테고리의 다른 글
rocky linux 웹 서버설치 한방에 따라하기 (0) | 2021.12.17 |
---|---|
리눅스 CPU 온도체크 기록하기 (0) | 2021.12.13 |
vendor preset: disabled....등 총괄적인 enable (1) | 2021.12.05 |
rocky linux mysql 에러 ERROR 1045 (28000) (0) | 2021.12.05 |
rocky linux mysql 비밀번호 설정 (0) | 2021.12.05 |
rocky linux mysql 설치 (0) | 2021.12.05 |
rocky linux mysql 버전확인 (0) | 2021.12.05 |
Rocky Linux 설치 usb 만들기 (0) | 2021.12.04 |
rockylinux를 다운받아보자 (0) | 2021.12.04 |
리눅스 mysql 에러 Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root (0) | 2021.11.29 |