$ sudo dnf install community-mysql-server community-mysql-libs community-mysql-devel
$ mysql --version
mysql Ver 8.0.27 for Linux on x86_64 (Source distribution)
$ sudo systemctl start mysqld
$ sudo systemctl enable mysqld
$ sudo mysql
> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
+--------------------+
4 rows in set (0.00 sec)
> CREATE DATABASE testapp;
> CREATE USER '<user>'@'localhost' IDENTIFIED BY '<password>';
> GRANT ALL PRIVILEGES ON testapp.* TO '<user>'@'localhost';
> quit
$ sudo systemctl start vncserver@:2.service
[1分ぐらいうんともすんとも言わない、この時VNC接続してみるとなぜかできちゃう]
Job for vncserver@:2.service failed because a timeout was exceeded. See "systemctl status vncserver@:2.service" and "journalctl -xe" for details.
[これが出た瞬間に、VNC接続も落ちる]