<tfoot id='998mP'></tfoot>
    1. <small id='998mP'></small><noframes id='998mP'>

        <bdo id='998mP'></bdo><ul id='998mP'></ul>
      <i id='998mP'><tr id='998mP'><dt id='998mP'><q id='998mP'><span id='998mP'><b id='998mP'><form id='998mP'><ins id='998mP'></ins><ul id='998mP'></ul><sub id='998mP'></sub></form><legend id='998mP'></legend><bdo id='998mP'><pre id='998mP'><center id='998mP'></center></pre></bdo></b><th id='998mP'></th></span></q></dt></tr></i><div id='998mP'><tfoot id='998mP'></tfoot><dl id='998mP'><fieldset id='998mP'></fieldset></dl></div>

      <legend id='998mP'><style id='998mP'><dir id='998mP'><q id='998mP'></q></dir></style></legend>

        “无法建立数据库连接"背后的根本错误是什么?检查连接字符串、用户名和密码."

        What is the root error behind quot;Failed to establish a database connection. Check connection string, username and password.quot;(“无法建立数据库连接背后的根本错误是什么?检查连接字符串、用户名和密码.)
        <i id='yqe9B'><tr id='yqe9B'><dt id='yqe9B'><q id='yqe9B'><span id='yqe9B'><b id='yqe9B'><form id='yqe9B'><ins id='yqe9B'></ins><ul id='yqe9B'></ul><sub id='yqe9B'></sub></form><legend id='yqe9B'></legend><bdo id='yqe9B'><pre id='yqe9B'><center id='yqe9B'></center></pre></bdo></b><th id='yqe9B'></th></span></q></dt></tr></i><div id='yqe9B'><tfoot id='yqe9B'></tfoot><dl id='yqe9B'><fieldset id='yqe9B'></fieldset></dl></div>
          • <bdo id='yqe9B'></bdo><ul id='yqe9B'></ul>
          • <tfoot id='yqe9B'></tfoot>
              <tbody id='yqe9B'></tbody>

                <legend id='yqe9B'><style id='yqe9B'><dir id='yqe9B'><q id='yqe9B'></q></dir></style></legend>

                  <small id='yqe9B'></small><noframes id='yqe9B'>

                1. 本文介绍了“无法建立数据库连接"背后的根本错误是什么?检查连接字符串、用户名和密码."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  翻了翻google和stackoverflow,发现了很多关于建立数据库连接失败.检查连接字符串、用户名和密码"的问题.但是,我找不到任何人发现潜在错误是什么.

                  Looking through google and stackoverflow, I found a number of questions asking about "Failed to establish a database connection. Check connection string, username and password." However, I cannot find anyone that has found what the underlying error is.

                  我正在尝试使用数据库连接编写我的第一个谷歌脚本;我有一个 mysql 和 oracle jdbc getConnection,两者都会产生这个错误.我已经检查,双重和三次检查连接信息无济于事.我知道数据库是可以访问的(可以通过其他客户端从几台不同的机器进入,比如 linux 机器上的 php,家庭和工作中各种 Windows PC 上的 sql 开发人员).我如何确定真正的错误是什么?呈现给我的错误过于笼统和抽象.

                  I am trying to write my first google script with a database connection; I have a mysql and oracle jdbc getConnection, both of which spawn this error. I have checked, double- and triple-check the connection information to no avail. I know the databases are accessible (can get in through other clients from several different machines like php on a linux box, sql developer on various windows PCs at home and work). How do I determine what the real error is? The error as presented to me is way too generic and abstract.

                  环境:在 Google 电子表格中使用脚本(因此继承了 google 建立的任何环境).我正在尝试使用 Google API jdbc 并且对环境变量没有进一步的了解.

                  Environment: Using a script in a Google Spreadsheet (thus inheriting whatever environment is established by google). I am attempting to use the Google API jdbc and have no further knowledge of the environment variables.

                  使用以下语法:

                  var url = "jdbc:mysql://mysql.cb-pta.com:3306/u4lottery";
                  var conn = Jdbc.getConnection(url, user, password); 
                  

                  再次验证用户和密码.

                  推荐答案

                  有一个已知错误会导致使用主机名的 jdbc 连接出现问题.尝试改用 IP 地址.

                  There is a known bug which causes problems with jdbc connections using hostnames. Try using an Ip address instead.

                  奇怪,但确实如此......我因为这个错误而损失了将近 2 天......

                  Bizarre, but true.. I lost almost 2 days with this bug....

                  这是错误报告的链接....

                  这篇关于“无法建立数据库连接"背后的根本错误是什么?检查连接字符串、用户名和密码."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                  MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                  Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)
                  MySQL GROUP BY DateTime +/- 3 seconds(MySQL GROUP BY DateTime +/- 3 秒)
                    <bdo id='8q8Ip'></bdo><ul id='8q8Ip'></ul>

                        <tbody id='8q8Ip'></tbody>

                    1. <tfoot id='8q8Ip'></tfoot>

                      1. <legend id='8q8Ip'><style id='8q8Ip'><dir id='8q8Ip'><q id='8q8Ip'></q></dir></style></legend>
                          <i id='8q8Ip'><tr id='8q8Ip'><dt id='8q8Ip'><q id='8q8Ip'><span id='8q8Ip'><b id='8q8Ip'><form id='8q8Ip'><ins id='8q8Ip'></ins><ul id='8q8Ip'></ul><sub id='8q8Ip'></sub></form><legend id='8q8Ip'></legend><bdo id='8q8Ip'><pre id='8q8Ip'><center id='8q8Ip'></center></pre></bdo></b><th id='8q8Ip'></th></span></q></dt></tr></i><div id='8q8Ip'><tfoot id='8q8Ip'></tfoot><dl id='8q8Ip'><fieldset id='8q8Ip'></fieldset></dl></div>
                          • <small id='8q8Ip'></small><noframes id='8q8Ip'>