我使用 Linux Ubuntu-19.O4。我刚刚开始一个项目,我必须提示用户使用输入详细信息,并将该信息存储在我使用“PHPMYADMIN”的数据库中。在我使用 Ubuntu 18.10 之前,所有事情都进展顺利,当我将系统升级到 19.04 时,事情变得很关键,因为 Apache2 服务器处于活动状态,但sudo systemctl status mysql.service
给出了以下输出:
$ sudo systemctl status mysql.service
[sudo] password for parth:
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: en
Active: failed (Result: exit-code) since Sun 2019-06-09 16:23:16 IST; 29min a
Process: 1167 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exit
Process: 1176 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/my
Jun 09 16:23:16 parth-p-pandya systemd[1]: mysql.service: Failed with result 'ex
Jun 09 16:23:16 parth-p-pandya systemd[1]: Failed to start MySQL Community Serve
Jun 09 16:23:16 parth-p-pandya systemd[1]: mysql.service: Service RestartSec=100
Jun 09 16:23:16 parth-p-pandya systemd[1]: mysql.service: Scheduled restart job,
Jun 09 16:23:16 parth-p-pandya systemd[1]: Stopped MySQL Community Server.
Jun 09 16:23:16 parth-p-pandya systemd[1]: mysql.service: Start request repeated
Jun 09 16:23:16 parth-p-pandya systemd[1]: mysql.service: Failed with result 'ex
Jun 09 16:23:16 parth-p-pandya systemd[1]: Failed to start MySQL Community Serve
而且当我尝试输入 phpmyadmin 密码时,我得到以下信息:错误
如果我能找到解决该错误的有效方法,我会非常高兴。