0x80000003+mysql_mysql错误解决办法集合
⼀、This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its de 错误解决办法
这是我们开启了bin-log, 我们就必须指定我们的函数是否是
1 DETERMINISTIC 不确定的
2 NO SQL 没有SQl语句,当然也不会修改数据
3 READS SQL DATA 只是读取数据,当然也不会修改数据
4 MODIFIES SQL DATA 要修改数据
5 CONTAINS SQL 包含了SQL语句
miui13无字模式其中在function⾥⾯,只有 DETERMINISTIC, NO SQL 和 READS SQL DATA 被⽀持。如果我们开启了 bin-log, 我们就必须为我们的function指定⼀个参数。
在MySQL中创建函数时出现这种错误的解决⽅法:执⾏下⾯语句
set global log_bin_trust_function_creators=TRUE;
⼆ 、navicat 连接mysql 错误提⽰ : 2003 Can't connect to MySql server on "localhost"(10061)
mysql 服务 关闭 不能重启
windows 意外关闭 mysql 服务不能启动,报错
2003 Can't connect to MySql server on "localhost"(10061)
在mysql 的data⽬录下到 .err错误⽇志
[ERROR] [MY-000000] [InnoDB] InnoDB: Assertion failure: :1235:table2 == NULL
InnoDB: thread 20556
InnoDB: We intentionally generate a memory trap.
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: about forcing recovery.
02:18:37 UTC - mysqld got exception 0x80000003 ;
This could be because you hit a bug. It is also possible that this binary
room linux安装or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=2
max_threads=151
thread_count=3
connection_count=2
正则匹配怎么匹配单词It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 67690 K bytes of memory Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x1c5f286a6a0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
!my_sigabrt_handler()[my_:373]
7ffee836dc17 ucrtbase.dll!raise()
7ffee836eaa1 ucrtbase.dll!abort()
!ut_dbg_assertion_failed()[:90]
!dict_table_add_to_cache()[:1235]
!dd_open_table_onedd::Table()[:4062]
!dd_open_tabledd::Table()[:4229]
!ha_innobase::open()[:6150]
!handler::ha_open()[:2633]
!open_table_from_share()[:2941]
!open_table()[:3298]
!open_and_process_table()[:4958]
!open_tables()[:5583]
!open_tables_for_query()[:6363]
!Sql_cmd_dml::prepare()[:345]
!Sql_cmd_dml::execute()[:494]
!mysql_execute_command()[:4147]
!mysql_parse()[:4927]
!dispatch_command()[:1607]
!do_command()[:1233]
!handle_connection()[connection_handler_:308]
!pfs_spawn_thread()[:2839]
!win_thread_start()[:52]
7ffee831cd70 ucrtbase.dll!_o__realloc_base()
7ffeeb708364 KERNEL32.DLL!BaseThreadInitThunk()
7ffeeb9c70b1 ntdll.dll!RtlUserThreadStart()
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (1c5f32f33e8): SELECT COUNT(1) act_ticket
Connection ID (thread ID): 8
Status: NOT_KILLEDosi七层模型交换机在哪层
information that should help you find out what is causing the crash.
可能是windows ⾮正常关机 导致的问题
⽹上解决办法
1、重启 MySQL服务
2、重改⼀下密码
都⽆效
下⾯的⽅法 帮到了我
mysql面试题集合其中重点的⼏句是:
2020-04-07T02:08:36.359052Z 8 [ERROR] [MY-013183] [InnoDB] Assertion failure: :1224:table2 == NULL thread 123145436229632
InnoDB: We intentionally generate a memory trap.
InnoDB: We intentionally generate a memory trap.
Connection ID (thread ID): 8
Status: NOT_KILLED
从⽹上搜了下发现这种⼤多是因为突然宕机造成的数据库数据出了问题,我这块出错的表是在django的apscheduler中,在运⾏时这部分表的确会不断进⾏查询等操作,所以突遇意外也是很有可能的。
解决⽅法⾸选是修改 innodb_force_recovery 的值,这个值的说明如下:
innodb_force_recovery 会影响整个InnoDB存储引擎的恢复状况。默认为0,表⽰当需要恢复时执⾏所有的
innodb_force_recovery可以设置为1-6,⼤的数字包含前⾯所有数字的影响。当设置参数值⼤于0后,可以对表进⾏
select,create,drop操作,但insert,update或者delete这类操作是不允许的。
sharepoint2010网页制作教程值为1:(SRV_FORCE_IGNORE_CORRUPT):忽略检查到的corrupt页。
值为2:(SRV_FORCE_NO_BACKGROUND):阻⽌主线程的运⾏,如主线程需要执⾏full purge操作,会导致crash。
值为3:(SRV_FORCE_NO_TRX_UNDO):不执⾏事务回滚操作。
值为4:(SRV_FORCE_NO_IBUF_MERGE):不执⾏插⼊缓冲的合并操作。
值为5:(SRV_FORCE_NO_UNDO_LOG_SCAN):不查看重做⽇志,InnoDB存储引擎会将未提交的事务视为已提交。
值为6:(SRV_FORCE_NO_LOG_REDO):不执⾏前滚的操作。
修改my.ini⽂件
在[mysqld]下⾯加上⼀⾏
innodb_force_recovery = 1
,建议从1开始试,未成功再变成2、3、4…我理解的是,数字越⼤,恢复的数据就离最新版本越远。然后保存my.ini,重启mysql
我的修改成2 后 启动成功 恢复了
innodb_force_recovery 改回0
之后记得把my.ini⾥的 innodb_force_recovery 值改回0,重启mysql。
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论