首页 \ 问答 \ Mediawiki数据库错误1205(Mediawiki Database Error 1205)

Mediawiki数据库错误1205(Mediawiki Database Error 1205)

我刚在http://konton.us/wiki上安装了一份新的mediawiki副本

我很高兴和我的维基一起玩,用信息突然填满这个地方,当我创建了一个名为Gameplay_Mechanics的文章时,一切都已经死了。

http://konton.us/wiki/Gameplay_Mechanics

我收到了这个错误:

发生了数据库查询语法错误。 这可能表示软件中存在错误。 最后一次尝试的数据库查询是:(来自函数“”内的SQL查询)。 数据库返回错误“1205:超出锁定等待超时;尝试重新启动事务(internal-db.s76387.gridserver.com)”。

我能够通过'清空'文章然后保存它来修复它 - 只是再次重新填充它但是......它发生在不到1天之后......再次,所以我有点想知道什么是实际的根这个荒谬的错误的原因。

所有帮助表示赞赏


I just installed a fresh copy of mediawiki on http://konton.us/wiki

I was all happy playing around with my wiki, filling up the place with information and suddently, when I created an article by the name of Gameplay_Mechanics, it all went dead.

http://konton.us/wiki/Gameplay_Mechanics

I got this error:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "". Database returned error "1205: Lock wait timeout exceeded; try restarting transaction (internal-db.s76387.gridserver.com)".

I was able to fix it by 'emptying' the article and then saving it - only to repopulate it again but...it happened less than 1 day later...again, so I'm kind of wondering what is the ACTUAL ROOT CAUSE of this ridiculous error.

All help is appreciated


原文:https://stackoverflow.com/questions/3409096
更新时间:2022-07-09 08:07

最满意答案

"*"表示“零或更多” 。 您可能需要"+" ,表示“一个或多个” 。 所以,

m/^.*?,\d+[\~]{2}\w\s\d*\w-\d*~.*?\^.*?-.*?-.*?_\w$/

不匹配

",~~Z 10Y-123~This is a test^ABC-DE-_F"

"*" means "zero or more". You may want "+", which means "one or more". So,

m/^.*?,\d+[\~]{2}\w\s\d*\w-\d*~.*?\^.*?-.*?-.*?_\w$/

does not match

",~~Z 10Y-123~This is a test^ABC-DE-_F"

相关问答

更多
  • 你什么时候都没有写任何东西到磁盘上。 如果您要修改文件,则应该明确地执行此操作。 您应该找到关于如何在官方文档中处理文件的一些指示。 You're not writing anything to disk at any moment. If you're looking to modify the file, you should do it explicitly. You should find some pointers on how to hand Files in the official doc. ...
  • 如果您需要精确度并且正在使用Java代码,那么最好与javadoc(或doxygen)集成。 也许这会有所帮助: 如何从源文件中提取JavaDoc注释 如果你不需要精确,那么你应该能够通过分阶段进行正常表达式以适应大多数情况:可能首先消除混淆部分(//和非javadoc / * * / comments),然后寻找javadoc评论。 但是你还必须决定一种处理恰好嵌入字符串的Javadoc分隔符的方法......问题更多的是关于词法分析。 也许这对你的申请来说已经足够了? If you want exact ...
  • 只需使用[^-]+并迭代结果。 Java中的插图: // yours Matcher m1 = Pattern.compile("([^-]*)-([^-]*)").matcher("abc - def"); if (m1.find()) { System.out.println(m1.group(1)); System.out.println(m1.group(2)); } // mine Matcher m2 = Pattern.compile("[^-]+").matcher("ab ...
  • 为什么甚至使用Regex只使用DateTime.TryParseExact方法。 我会像对其他字符的额外检查一样实现它: bool IsCorrectFormat(string input) { //14 is a magic number for the length of the expected format if (input.Length == 14 && input.StartsWith("T", StringComparison.OrdinalIgnoreCase)) ...
  • 您可以使用: var b = this.innerHTML.match(/href=(['"])(.+?)\1/); window.location.assign( b[2] ); // #div46 删除g标志以获得结果数组中的所有匹配组。 You can use: var b = this.innerHTML.match(/href=(['"])(.+?)\1/); window.location.assign( b[2] ); // #div46 Remove g flag to get all ...
  • "*"表示“零或更多” 。 您可能需要"+" ,表示“一个或多个” 。 所以, m/^.*?,\d+[\~]{2}\w\s\d*\w-\d*~.*?\^.*?-.*?-.*?_\w$/ 不匹配 ",~~Z 10Y-123~This is a test^ABC-DE-_F" "*" means "zero or more". You may want "+", which means "one or more". So, m/^.*?,\d+[\~]{2}\w\s\d*\w-\d*~.*?\^.*?-.* ...
  • 您可以使用\d替换[0-9]{1} ,如下所示: /\d\.\d\.\d$/ $匹配行的结尾。 编辑:根据Rob-W的反馈进行更新 You can replace [0-9]{1} with \d as follows: /\d\.\d\.\d$/ The $ matches the end of the line. Edit: updated based on Rob-W's feedback
  • 尝试这个: ^/(creditcards(/.*)?)?$ Try this: ^/(creditcards(/.*)?)?$
  • 由于您基本上只需要获取第8个字段,因此根本不需要正则表达式。 这个小片段应该可以解决问题(很好地包装在一个易于使用的方法中 - 我甚至为你做了错误处理部分): public string GetInvoiceNumber(string line) { if(line == null) { throw new ArgumentNullException("line"); } var res = line.Split('~'); if(res.Leng ...
  • expresion \$\([^$()]+\)符合您的规范。 它在括号内至少需要一个非$()字符。 您可以在此处测试: http : //regex101.com/r/fL6sV3/1 The expresion \$\([^$()]+\) matches your specification. It requires at least one non-$() character between parenthesis. You can test it here: http://regex101.com/r ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)