- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我的 mysql 服务器有问题。当我启动 MAMP 时,Mysql 服务器不会启动。我试图更改端口,但没有帮助。我在错误日志中找到了这个:
161010 09:21:07 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql56
2016-10-10 09:21:07 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-10-10 09:21:07 0 [Note] /Applications/MAMP/Library/bin/mysqld (mysqld 5.6.28) starting as process 6633 ...
2016-10-10 09:21:07 6633 [Warning] Setting lower_case_table_names=2 because file system for /Applications/MAMP/db/mysql56/ is case insensitive
2016-10-10 09:21:07 6633 [Note] Plugin 'FEDERATED' is disabled.
/Applications/MAMP/Library/bin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13 - Permission denied)
2016-10-10 09:21:07 6633 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-10-10 09:21:07 6633 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-10-10 09:21:07 6633 [Note] InnoDB: The InnoDB memory heap is disabled
2016-10-10 09:21:07 6633 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-10-10 09:21:07 6633 [Note] InnoDB: Memory barrier is not used
2016-10-10 09:21:07 6633 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-10-10 09:21:07 6633 [Note] InnoDB: Using CPU crc32 instructions
2016-10-10 09:21:07 6633 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-10-10 09:21:07 6633 [Note] InnoDB: Completed initialization of buffer pool
2016-10-10 09:21:07 6633 [Note] InnoDB: Highest supported file format is Barracuda.
2016-10-10 09:21:07 6633 [Note] InnoDB: 128 rollback segment(s) are active.
2016-10-10 09:21:07 6633 [Note] InnoDB: Waiting for purge to start
2016-10-10 09:21:07 6633 [Note] InnoDB: 5.6.28 started; log sequence number 1600617
2016-10-10 09:21:07 6633 [Note] RSA private key file not found: /Applications/MAMP/db/mysql56//private_key.pem. Some authentication plugins will not work.
2016-10-10 09:21:07 6633 [Note] RSA public key file not found: /Applications/MAMP/db/mysql56//public_key.pem. Some authentication plugins will not work.
2016-10-10 09:21:07 6633 [Note] Server hostname (bind-address): '*'; port: 3308
2016-10-10 09:21:07 6633 [Note] IPv6 is available.
2016-10-10 09:21:07 6633 [Note] - '::' resolves to '::';
2016-10-10 09:21:07 6633 [Note] Server socket created on IP: '::'.
2016-10-10 09:21:07 6633 [ERROR] /Applications/MAMP/Library/bin/mysqld: Can't find file: './mysql/user.frm' (errno: 13 - Permission denied)
2016-10-10 09:21:07 6633 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/user.frm' (errno: 13 - Permission denied)
161010 09:21:07 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended
我希望有人能帮我解决这个问题。
最佳答案
我不知道这是否是你的问题,但我尝试用 killall -9 mysqld
杀死 mysqld 并尝试在事件监视器中寻找运行的 mysqld,但它不在那里。
最终我解决了这个问题:在我遇到问题之前发生的事情是 mysqldump 被中断了。那已经损坏了一个表空间。所以我退出并重新启动 MAMP PRO(服务器未设置为自动启动)。然后使用 MAMPs 文件 > 编辑模板更改 my.cnf。并添加了行 innodb_force_recovery = 1
。之后服务器启动正常。修复后我注释掉了那一行。
关于mysql - mamp mysql 无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39953913/
我使用 MAMP Pro (4.4)。我在应用程序中有许多 MAMP 文件夹占用了大量空间。删除旧的并保留最新的是否安全?因此保留 MAMP 和 MAMP_2018-02-12_21-21-59(见下
我正在尝试在 MAMP php 中安装 pecl_http。 我收到以下错误。 grep: /Applications/MAMP/bin/php/php5.5.10/include/php/main/
警告:我对 Mac 和 OS X 还是很陌生。 我从 mamp.info 下载了 MAMP 以安装在运行 OSX 10.8.5 的 2012 年末 iMac 上。 安装程序让我可以选择只安装 MAMP
我有 MAMP Pro . 如何让 MAMP Pro 服务器在重启时自动启动? 最佳答案 在 MAMP Pro 版本 4.5(仍然是 5.5.x)中,此选项位于 Ports 下。 关于mamp - 在
我正在使用 MAMP Pro作为开发环境。我用过 ngrok与 MAMP前。但是在这种特殊情况下,它从 ngrok 重定向url 到我的本地 url 并且 https 不可用。 我的本地服务器是 e-
我在带有虚拟主机的 Macbook Pro 上运行 MAMP Pro 4。它工作正常。我希望能够从本地网络上的其他设备访问它,以便测试各种浏览器/操作系统组合。我在网上找到的所有文章和帖子都是针对早期
我在带有虚拟主机的 Macbook Pro 上运行 MAMP Pro 4。它工作正常。我希望能够从本地网络上的其他设备访问它,以便测试各种浏览器/操作系统组合。我在网上找到的所有文章和帖子都是针对早期
我想在我的 Windows 8.1 电脑上运行 MAMP,但是当我启动服务器时,它说: 'APACHE' needs open port '80' which is already being use
我正在尝试安装 libsodium(按照本指南 https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsod
使用 MAMP Pro,您可以创建诸如“local.example.com”之类的条目并指向本地计算机上该站点的根目录。 有可能自动化吗? 那是在我的电脑上,我的设置如下: 用户/hm/Sites/e
我有时会在 phpMyAdmin 中获取存储在/Library/Application Support/appsolute/db/mysql 下的数据库,这应该是 MAMP PRO 的路径。不过,我不
我正在运行 MAMP,它告诉我它无法写入/etc/hosts 文件。我猜这是一个许可问题,但不完全确定。这是错误: The file /etc/hosts couldn't be written 有什
我的桌面上有一个名为 work 的文件夹,用于保存所有 php 项目。我使用 MAMP 并且所有项目都设置为在虚拟主机上运行,例如,如果我有一个名为 test 的项目,我将通过此 URL http
我试图在我的 php.ini 中将 display_errors = Off 更改为 display_errors = On。我运行了 phpinfo() 并验证了加载的配置文件(它位于:/Libra
我正在将 Laravel/horizon 与 Osx MAMP pro 一起使用 当我运行 Composer 时,它需要 laravel/horizon:~1.0它显示一条消息 - laravel
我正在尝试使用 mamp 设置虚拟主机。当我输入 http://resihop:8888我最终进入 127.0.0.1。为什么? 一些事实: 站点名称:resihop Apache 端口:8888 宿
好的,希望有人能帮帮我。我已经安装了 MAMP PRO(在使用 MAMP 一段时间之后)。 启动 MAMP PRO 时,我已连接到 Apache 服务器和 MySQL。它之所以有效,是因为我同时拥有两
有人知道如何在 MAMP/MAMP Pro 上增加 apache fastCGI 超时吗?我到处找,但似乎找不到。 一如既往地感谢任何帮助。 谢谢, Codarz360 最佳答案 这太乏味了,但终于让
如何更改我的 MAMP mysql.sock 文件路径 /Applications/MAMP/tmp/mysql/mysql.sock 每当我退出 MAMP 或重新启动计算机时,其他内容都不会被删除?
我已经升级到 MAMP Pro,mysql 文件夹不会出现在它们在 MAMP/db 中的位置 MAMP Pro 将 MySQL 数据库保存在哪个位置? 最佳答案 MAMP Pro 的更新版本将数据库保
我是一名优秀的程序员,十分优秀!