MySQL数据库在终端上启动,但不在XAMPP上启动 [英] MySQL Database starts on Terminal But not on XAMPP

查看:100
本文介绍了MySQL数据库在终端上启动,但不在XAMPP上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在XAMPP上启动MySQL数据库,但它没有启动。
但是当我在终端上运行它时:

I am trying to start MySQL Database on XAMPP, and it doesn't start. But when I ran this on my terminal:

sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

终端会给我成功消息。
如何检查MySQL数据库是否正在实际运行?
而且我如何在XAMPP上显示正在运行而不是已停止状态?

The terminal gives me a success message. How can I check if MySQL Database is actually running? And how can I make the status on XAMPP say Running and not Stopped?

谢谢!

但是当我在终端上运行它时:

But when I ran this on my terminal:

sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

终端会给我成功消息。

如何检查MySQL数据库是否正在实际运行?

How can I check if MySQL Database is actually running?

如何在XAMPP上显示正在运行而不是已停止状态?

And how can I make the status on XAMPP say Running and not Stopped?

谢谢!

推荐答案

尝试使用此命令:

sudo service mysql status

这篇关于MySQL数据库在终端上启动,但不在XAMPP上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆