简体   繁体   English

Azure网站-ODBC驱动程序的Microsoft OLE DB提供程序错误'80004005'

[英]Azure Website - Microsoft OLE DB Provider for ODBC Drivers error '80004005'

We are running PHP and MySQL in a MS Azure Website instance. 我们正在MS Azure网站实例中运行PHP和MySQL。 It's been running fine. 运行良好。 Today, without us having made any changes, it went down with this error: 今天,在没有进行任何更改的情况下,它因以下错误而失败:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on 'localhost' (10061)

/include/inc_database.asp, line 49 

Here are some notes on what we've learned: 以下是关于我们学到的一些笔记:

  • We do not have a file in our website named /inc_database.asp 我们的网站上没有一个名为/inc_database.asp的文件。
  • The staging version of the site works. 该站点的暂存版本有效。 When we swap it into the live version, the live version doesn't work. 当我们将其交换为实时版本时,实时版本将无法使用。
    • Update : it appears that the staging site works only because it doesn't use a custom domain name. 更新 :暂存站点似乎仅由于不使用自定义域名而起作用。
    • Update 2 : Custom domains work only with the www prefix. 更新2 :自定义域仅可使用www前缀。 That is, www.saltspringstudiotour.ca works whereas saltspringstudiotour.ca doesn't. 也就是说,www.saltspringstudiotour.ca有效,而saltspringstudiotour.ca无效。
  • Restarting the website did not fix the problem. 重新启动网站并不能解决问题。
  • Is this something to do with a firewall rule? 这与防火墙规则有关吗?
  • We are connecting to a ClearDB MySQL Database. 我们正在连接到ClearDB MySQL数据库。
  • The ClearDB Dashboard does not expose firewall configuration settings. ClearDB仪表板不公开防火墙配置设置。

It seems that the problem is associated with using a custom domain without the www prefix. 似乎该问题与使用不带www前缀的自定义域有关。

The problem was our DNS settings. 问题是我们的DNS设置。 We had an extra CNAME. 我们还有一个CNAME。 This was breaking the FWD. 这打破了FWD。 It had nothing to do with CleraDB. 它与CleraDB无关。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Microsoft OLE DB提供程序的ODBC驱动程序错误 - Microsoft OLE DB Provider for ODBC Drivers error Enterprise Architect-用于ODBC驱动程序的Microsoft OLE DB提供程序-2147217900 /'80040E14' - Enterprise Architect - Microsoft OLE DB Provider for ODBC Drivers -2147217900 / '80040E14' 在SSIS中看不到“用于ODBC的Microsoft OLE DB提供程序”驱动程序 - Unable to see “Microsoft OLE DB Provider for ODBC” driver in SSIS ADO 错误:odbc 驱动程序的 Microsoft oledb 提供程序中发生 0x80040e14 异常[ODBC 8.0(a)][mysqld-8.0.20] 您的 SQL 语法有错误 - ADO Error: 0x80040e14 exception occurred in microsoft oledb provider for odbc drivers[ODBC 8.0(a)][mysqld-8.0.20] You have an error in your SQL syntax Azure 托管 SQL - ODBC 驱动程序 - Azure Managed SQL - ODBC Drivers 错误:链接服务器“bquick”的 OLE DB 提供程序“MSDASQL”无法开始分布式事务 - Error: OLE DB provider "MSDASQL'' for Linked Server ''bequick'' was unable to begin a Distributed transaction SQL Server 2005 32位-错误:链接服务器“(null)”的OLE DB提供程序“ OLEDB.1”报告错误。 提供者内存不足 - SQL Server 2005 32 bit -Error: The OLE DB provider “OLEDB.1” for linked server “(null)” reported an error. The provider ran out of memory Ole DB查询错误缺少运算符 - Ole db Query error missing operator MySQL的Ole db连接器 - Ole db connector for Mysql 尝试配置ODBC驱动程序时权限被拒绝 - Permission denied while trying to configure ODBC drivers
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM