我正在尝试在端口 3306 上运行 xampp MYSQL 数据库,但它既未启动,也未在应用程序日志中显示任何错误.应用程序日志仅显示 Starting MySQL Database... ProFTPD 和 Apache Web 服务器正在运行,但 MYSQL 始终停止.如果我将端口号更改为 3308,我可以运行它,但我必须在端口 3306 上运行 mysql,因为我的项目团队成员正在使用端口 3306.
I am trying to run xampp MYSQL Database on port 3306, but it gets neither started, nor shown any errors on application log. Application log only shows Starting MySQL Database... ProFTPD and Apache Web Servers are running, but MYSQL is always stopped.
If I change port number to lets say 3308, I can run it but I have to run the mysql on port 3306 because my project team members are using port 3306.
来自终端的结果:ps -ax |grep mysqld
652 ?? 0:00.02 /bin/sh /Applications/XAMPP/xamppfiles/bin/mysqld_safe --datadir=/Applications/XAMPP/xamppfiles/var/mysql --pid-file=/Applications/XAMPP/xamppfiles/var/mysql/my-mbp.pid
793 ?? 0:11.57 /Applications/XAMPP/xamppfiles/sbin/mysqld --basedir=/Applications/XAMPP/xamppfiles --datadir=/Applications/XAMPP/xamppfiles/var/mysql --plugin-dir=/Applications/XAMPP/xamppfiles/lib/mysql/plugin/ --user=mysql --log-error=/Applications/XAMPP/xamppfiles/var/mysql/my-mbp.err --pid-file=/Applications/XAMPP/xamppfiles/var/mysql/my-mbp.pid --socket=/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock --port=3308
4589 ttys000 0:00.00 grep mysqld
如何强制 xampp mysql 在端口 3306 上运行?XAMPP 版本:5.5.38-1
How can I force xampp mysql to run on port 3306? XAMPP Version: 5.5.38-1
我知道这个帖子有点老了,希望我不要违反规则.但是最近我遇到了这个问题,经过与我兄弟的一些讨论,他告诉我可能会在 brew 上运行 mysql,我有.
I know this thread is a bit old, I hope I don't violate rules. But I recently had this problem and after some discussion with my brother, he told me that I might had mysql running with brew, which I had.
所以在终端中我输入了 brew services stop mysql.之后我就可以使用端口 3306 的 xampp 启动 mysql
So in the terminal I typed brew services stop mysql. And after that I was able to start mysql with xampp with port 3306
这篇关于xampp mysql 不在端口 3306 上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
获取所有产品、类别和元数据的 SQL 查询 woocommSQL query to get all products, categories and meta data woocommerce/wordpress(获取所有产品、类别和元数据的 SQL 查询 woocommerce/wordpre
如何在 WSL(Linux 的 Windows 子系统)中使用 MySQL?How to use MySQL in WSL (Windows Subsystem for Linux)?(如何在 WSL(Linux 的 Windows 子系统)中使用 MySQL?)
任务计划程序中的 PowerShell MySQL 备份脚本错误 PowerShell MySQL Backup Script Error in Task Scheduler 0x00041301(任务计划程序中的 PowerShell MySQL 备份脚本错误 0x00041301)
将数据从 XML 文件导入 MySQL 数据库Import the data from the XML files into a MySQL database(将数据从 XML 文件导入 MySQL 数据库)
在 Windows 7 32 位上安装 Xampp.启动时的错误installed Xampp on Windows 7 32-bit. Errors when starting(在 Windows 7 32 位上安装 Xampp.启动时的错误)
Windows xampp 上的 Mysql 小写表Mysql lower case table on Windows xampp(Windows xampp 上的 Mysql 小写表)