- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
每次我尝试备份或检查所有表时,mysql 服务器都会在 Windows Server 2012 上崩溃,我的开发环境使用 XAMPP 堆栈。数据库加密在数据库中有超过 1100 个表。我包括下面的日志。
InnoDB: End of page dump 2017-09-24 13:58:35 7dc InnoDB: uncompressed page, stored checksum in field1 2521749199, calculated checksums for field1: crc32 2344073126, innodb 1121903210, none 3735928559, stored checksum in field2 0, calculated checksums for field2: crc32 2344073126, innodb 2892594725, none 3735928559, page LSN 0 2936733816, low 4 bytes of LSN at page end 0, page number (if stored to page already) 34, space id (if created with >= MySQL-4.1.1 and stored already) 1767 InnoDB: page type 17855 meaning INDEX InnoDB: Page may be an index page where index id is 1522 InnoDB: (index "PRIMARY" of table "crypto"."300-token") 2017-09-24 13:58:35 2012 [ERROR] InnoDB: It is also possible that your operatingsystem has corrupted its own file cache. 2017-09-24 13:58:35 2012 [ERROR] InnoDB: and rebooting your computer removes the error. 2017-09-24 13:58:35 2012 [ERROR] InnoDB: If the corrupt page is an index page you can also try to 2017-09-24 13:58:35 2012 [ERROR] InnoDB: fix the corruption by dumping, dropping, and reimporting 2017-09-24 13:58:35 2012 [ERROR] InnoDB: the corrupt table. You can use CHECK 2017-09-24 13:58:35 2012 [ERROR] InnoDB: TABLE to scan your table for corruption. 2017-09-24 13:58:35 2012 [ERROR] InnoDB: See also http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html about forcing recovery. 2017-09-24 13:58:35 7dc InnoDB: Assertion failure in thread 2012 in file buf0lru.cc line 2394 InnoDB: Failing assertion: bpage->buf_fix_count == 0 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 170924 13:58:35 [ERROR] mysqld got exception 0x80000003 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail.
Server version: 10.1.22-MariaDB key_buffer_size=16777216 read_buffer_size=262144 max_used_connections=1 max_threads=1001 thread_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 787106 K bytes of memory Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... mysqld.exe!my_parameter_handler() mysqld.exe!my_wildcmp_mb_bin() mysqld.exe!?save_in_result_field@Item@@UAEX_N@Z() mysqld.exe!?save_in_result_field@Item@@UAEX_N@Z() mysqld.exe!?save_in_result_field@Item@@UAEX_N@Z() mysqld.exe!?save_in_result_field@Item@@UAEX_N@Z() mysqld.exe!?save_in_result_field@Item@@UAEX_N@Z() KERNEL32.DLL!BaseThreadInitThunk() ntdll.dll!RtlInitializeExceptionChain() ntdll.dll!RtlInitializeExceptionChain() The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash.
希望有人能帮帮我谢谢。
最佳答案
根据您问题中的内容,“服务器版本:10.1.22-MariaDB key_buffer_size=16777216 read_buffer_size=262144 max_used_connections=1 max_threads=1001 thread_count=1 mysqld 可能最多可以使用 key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 787106 K ....”
根据上面的 max_threads=1001
线索 - 检查 my.ini 或 .cnf 中的 max_connections。将 max_connections 降低到 = 100 可能会也可能不会帮助您通过 BaseThreadInitThunk() ntdll.dll!
关于mysqldump/mysqlcheck 时 MySQL 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46390338/
我定期针对 Drupal 数据库运行 mysqldump,伙计,那些缓存表可能会变得很大。考虑到我在重新加载数据后做的第一件事就是清除缓存,如果我可以完全跳过转储所有这些行,我会很高兴。我不想跳过表创
我知道 exit code = 0 的意思是 No error。 我得到 退出代码 = 2。这是什么意思 ? 在哪里可以看到 mysqldump 退出代码的完整列表? 最佳答案 取自 MySQL 5.
我正在清理这个庞大而困惑的数据库。它包含 500 多个表,这是将 Magento Enterprise 与 Joomla 结合到一个数据库中的结果。 更糟糕的是,有一组 70 多个 Joomla 表根
我正在尝试将大型数据库中的一小部分记录加载到测试数据库中。 你如何告诉 mysqldump 只给你 800 万条记录中的 n 条记录? 谢谢 最佳答案 正如 skaffman 所说,使用 --wher
我的 mysqldump 有问题.. 我知道如何从我的电脑启动 mysqldump 命令到远程服务器并自动将 mysqldump 文件保存在我的电脑中...... mysqldump --user=
这是我的完整 bash 脚本: #!/bin/bash logs="$HOME/sitedb_backups/log" mysql_user="user" mysql_password="pass"
在这个问题上工作了一整天..当我请求该表时,它为我提供了整个数据库.. #!/bin/bash # mysqldump --user root --password=mypw sellnjho_rea
我想知道通过phpmyadmin导出大型数据库和通过mysqldump通过终端导出信息的方式是否有区别。 mysqldump 的运行时间更好? 我想知道优点和缺点。 谢谢。 最佳答案 如果你从 mys
我收到以下错误: mysqldump: [ERROR] unknown variable 'database=myDB1' 当我运行这个命令时: mysqldump -u root -p myDB
我最近将服务器升级到 Debian 9,并将 MySQL 升级到最新版本。我有一个简单的备份脚本,在生产站点上执行任何工作之前运行该脚本,但这一次,在运行脚本时,我遇到以下情况: mysqldump:
解决方法见底 我正在运行 mysqldump 作为通过 cron 作业调用的 php 脚本的一部分。 是否可以从 mysqldump 命令返回 stderr,或者将其分配给可以直接读取的变量?或者是否
尝试通过 MySQL Workbench 转储简单数据库,方法是单击...服务器>数据导出>mydb>开始导出 获取消息:mysqldump 版本不匹配...消息显示这些版本mysqldump.exe
我尝试了其他答案中提到的其他解决方案,例如权限、授予问题、端口号、密码/用户名等。这些都不是问题;它们可能是您的问题,因此需要检查。 配置:在 Win10 上运行 Wordpress,安装了 Mari
我必须从服务器转储数据库,将 .sql 传输到另一台服务器,然后运行以下脚本以使用此语法删除某些行: DELETE wp_posts FROM wp_posts INNER JOIN wp_postm
正在尝试从 MAMP 服务器导出数据库。我试过命令: # mysql_dump -u root -proot db_name > db_name.sql # Applications/MAMP/Lib
我只想转储最新的行。但是当我通过 --where 选项时,它不会转储行。但是当我使用相同的 where 子句执行选择查询时,它返回行。这是我的选择查询: SELECT * FROM abc.`xyz
我用它来将所有数据从 my_database 导出到分隔文本到一个文件夹中 mysqldump -u root -p -t -T /path/to/export my_database --field
我经常使用以下命令通过 ssh 在 AWS RDS 上导出 mySql 数据库: mysqldump -u myUserName -h myDBname.randomcharacters.us-reg
我需要包含数据的 mysqldump,但在数据库中还有几个带有 FEDERATED 引擎的表。 mysqldump 也包括 FEDERATED 表的 INSERT,这是导致“重复条目”错误的原因(因为
mysqldump 在生成转储文件时会转义哪些字符?不幸的是,我找不到任何相关文档,所以我尝试了一下,发现只有双引号、单引号和反斜杠 (',",\) 会被反斜杠转义。 但是还有更多吗,或者有任何可用的
我是一名优秀的程序员,十分优秀!