无法启动 MySQL!在启动 XAMPP 时

2022-01-14 00:00:00 sql database xampp mysql

我是 Ubuntu 新手,我在 Ubuntu 10.04 中安装了 XAMPP.当我启动 XAMPP 时,它说 MySQL 无法启动.

I am new in Ubuntu, I installed XAMPP in my Ubuntu 10.04. When I start XAMPP it says MySQL couldn't start.

这是我的终端输出:

$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.0...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

然后当我转到 http://localhost 时,我卡在 XAMPP 启动屏幕上,如果我选择语言,什么也不会发生.

And then as I go to http://localhost, I got stuck on the XAMPP splash-screen, nothing happens if I choose language.

推荐答案

我找到了答案.首先完全卸载lampp,然后重新安装.卸载前,使用命令停止lampp:

I found the answer. First completly uninstall the lampp and then reinstall it. Before uninstalling, stop the lampp using the command:

/opt/lampp/lampp stop

然后使用命令卸载/删除它

and then uninstall/remove it using the command

rm -rf /opt/lampp

然后重新安装它.

相关文章