Ubuntu Server 20.04(TrueNAS Scale虚拟机环境)MySQL无法启动问题求助
Ubuntu Server 20.04(TrueNAS Scale虚拟机环境)MySQL无法启动问题求助
各位大佬好,我最近在TrueNAS Scale的虚拟机里部署了Ubuntu Server 20.04,结果安装完MySQL后发现它没法正常启动,想请大家帮忙排查下问题。
先跟大家说下我的服务器配置:
- 5GiB 内存
- 1个虚拟CPU,2核心
- 100GiB 存储空间
我是通过SSH远程连接操作的,安装MySQL用的命令是:
sudo apt install mysql-server -y
安装过程的输出信息如下:
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: galera-4 libconfig-inifiles-perl libdbd-mariadb-perl libdbi-perl libmariadb3 libmysqlclient21 libterm-readkey-perl mariadb-common pv socat Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: mysql-server 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 9,480 B of archives. After this operation, 35.8 kB of additional disk space will be used. Get:1 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 mysql-server all 8.0.36-0ubuntu0.20.04.1 [9,480 B] Fetched 9,480 B in 0s (26.5 kB/s) Selecting previously unselected package mysql-server. (Reading database ... 80365 files and directories currently installed.) Preparing to unpack .../mysql-server_8.0.36-0ubuntu0.20.04.1_all.deb ... Unpacking mysql-server (8.0.36-0ubuntu0.20.04.1) ... Setting up mysql-server (8.0.36-0ubuntu0.20.04.1) ...
安装看起来顺利完成了,但我尝试启动MySQL服务的时候一直失败,也没找到明确的报错提示。有没有大佬能给我点思路?比如该检查哪些日志文件,或者有没有虚拟机环境下常见的配置问题需要注意呀?
备注:内容来源于stack exchange,提问作者anon
相关产品推荐
相关产品推荐

