<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic With build script I suddenly get &amp;quot;java.sql.SQLException: Access denied for user&amp;quot; in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340843#M108844</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a running script in "Talend Open Studio 7.3.1" which does nothing else then get MSSQL data to transfer it to a MySQL database. In the studio everything works fine and so I build my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All connection data is put in Contexts and in the build menu I did choose the following parameters below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Eaw8RAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141793i78317DE5EC9343F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Eaw8RAAR.png" alt="0695b00000Eaw8RAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Eaw7YAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142426i0401DE0357F1171B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Eaw7YAAR.png" alt="0695b00000Eaw7YAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the script "importTicketing_run.sh" it on my windows-development machine with "mintty 2.7.3" it also connects to the database just fine. When I run the same script on the target Linux-server I do get the following exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;[root@vm-***** plan]#  sh /home/plan/Talend/importTicketing/importTickekting_run.sh&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Exception in component tDBOutput_1 (importTickekting)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;java.sql.SQLException: Access denied for user 'talend'@'vm-*****' (using password: YES)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1084)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:926)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1748)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1288)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2506)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2539)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2321)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other side I do have running talend-scripts running on this host based on talend 7.1. Also I can connect to the mysql-database with the login-name above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;[root@vm-**** plan]#  mysql -u talend -p************************&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Welcome to the MySQL monitor.&amp;nbsp;Commands end with ; or \g.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Your MySQL connection id is 1148191&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Server version: 5.5.56 MySQL Community Server (GPL) by Remi&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Oracle is a registered trademark of Oracle Corporation and/or its&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;affiliates. Other names may be trademarks of their respective&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;owners.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;mysql&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually have no clue what could went wrong ...&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:12:37 GMT</pubDate>
    <dc:creator>apletschette</dc:creator>
    <dc:date>2024-11-16T00:12:37Z</dc:date>
    <item>
      <title>With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340843#M108844</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a running script in "Talend Open Studio 7.3.1" which does nothing else then get MSSQL data to transfer it to a MySQL database. In the studio everything works fine and so I build my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All connection data is put in Contexts and in the build menu I did choose the following parameters below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Eaw8RAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141793i78317DE5EC9343F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Eaw8RAAR.png" alt="0695b00000Eaw8RAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Eaw7YAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142426i0401DE0357F1171B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Eaw7YAAR.png" alt="0695b00000Eaw7YAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the script "importTicketing_run.sh" it on my windows-development machine with "mintty 2.7.3" it also connects to the database just fine. When I run the same script on the target Linux-server I do get the following exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;[root@vm-***** plan]#  sh /home/plan/Talend/importTicketing/importTickekting_run.sh&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Exception in component tDBOutput_1 (importTickekting)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;java.sql.SQLException: Access denied for user 'talend'@'vm-*****' (using password: YES)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1084)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:926)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1748)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1288)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2506)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2539)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2321)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other side I do have running talend-scripts running on this host based on talend 7.1. Also I can connect to the mysql-database with the login-name above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;[root@vm-**** plan]#  mysql -u talend -p************************&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Welcome to the MySQL monitor.&amp;nbsp;Commands end with ; or \g.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Your MySQL connection id is 1148191&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Server version: 5.5.56 MySQL Community Server (GPL) by Remi&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Oracle is a registered trademark of Oracle Corporation and/or its&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;affiliates. Other names may be trademarks of their respective&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;owners.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;mysql&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually have no clue what could went wrong ...&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340843#M108844</guid>
      <dc:creator>apletschette</dc:creator>
      <dc:date>2024-11-16T00:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340844#M108845</link>
      <description>&lt;P&gt;on the build job menu you choose default context instead of prod, is that ok for you ?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 12:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340844#M108845</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-29T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340845#M108846</link>
      <description>&lt;P&gt;thx for pointing thix, but yes "default" should be "prod" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 07:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340845#M108846</guid>
      <dc:creator>apletschette</dc:creator>
      <dc:date>2021-04-30T07:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340846#M108847</link>
      <description>&lt;P&gt;when you choose default in build windows ,you use default name context not prod name context (as you say you use prod as default, but you have also a default name context).&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 12:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340846#M108847</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-30T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340847#M108848</link>
      <description>&lt;P&gt;I did test this, but same problem, it's really weird&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340847#M108848</guid>
      <dc:creator>apletschette</dc:creator>
      <dc:date>2021-04-30T13:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340848#M108849</link>
      <description>&lt;P&gt;The problem was quite simple:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I migrated from Talend7.1to Talend7.3 and I did not update my "lib" directory on the target server, so some ".jar" file seems no longer been compatible.  I know updated the directory and everything is fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 13:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340848#M108849</guid>
      <dc:creator>apletschette</dc:creator>
      <dc:date>2021-05-05T13:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340849#M108850</link>
      <description>&lt;P&gt;hi , the problem happens to me still in 2021 with talend 7.3 . i build my job after testing it and it works totally fine in the studio. but when I run the build .bat file , it crashes and says the same exact error as it showed for you. &lt;/P&gt;&lt;P&gt;Also, i added the user with same name and password on  HOST  localhost in my MySQL database to ensure it exists and gave it all privileges but yet it does not work in the cmd of windows 10 !!!&lt;/P&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;@Xiaodi Shi​&amp;nbsp; any ideas about this please. I never been able to make even 1 job work after building it! I want to make scheduled tasks but this thing is blocking me from progress.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 13:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340849#M108850</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2021-09-27T13:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340850#M108851</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is the build job from the same machine where Talend studio is installed?&lt;/P&gt;&lt;P&gt;Have you tried to change the datatype of password in context from "password" to "String" and try once to see if this issue still reprp? Any issue on Context value?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 07:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340850#M108851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-28T07:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340851#M108852</link>
      <description>&lt;P&gt;&lt;B&gt;&lt;I&gt;thx a lot&lt;/I&gt;&lt;/B&gt; @Xiaodi Shi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was all due to password i always type password in the field of password but it seems it does not save it well , now i used context variable named password and type String and value is my password ! &lt;B&gt;&lt;I&gt;it worked in CMD as a charm&lt;/I&gt;&lt;/B&gt;  &lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyway i tried these before and it ouput this next &lt;/P&gt;&lt;P&gt;&lt;B&gt;yes&lt;/B&gt; it is build in &lt;B&gt;same machine&lt;/B&gt; , i created 3 users to ensure it gets the specific access to the DB when running ,i created localhost ,my fixed ip ,my domain user name  as 3 hosts available .&lt;/P&gt;&lt;P&gt;they work in Talend as i tested today , but &lt;B&gt;they don't work in cmd&lt;/B&gt; and it says :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java.sql.SQLInvalidAuthorizationSpecException: Could not connect to address=(host=MY_IP)(port=3306)(type=master) : Access denied for user 'root'@'MY_MACHINE_USER' (using password: YES)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also it says for the Ip as host :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java.sql.SQLException: Access denied for user 'root'@'MY_MACHINE_USER' (using password: YES)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 09:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340851#M108852</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2021-09-28T09:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340852#M108853</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have made a testing from my side and I can't reproduce the issue with v7.3.1, the job works also when I export the job script. As I did, you export all the parameter as context variable.&lt;/P&gt;&lt;P&gt;When you have a context variable whose type is &lt;B&gt;password&lt;/B&gt;, you do not need to use single or double quotes for the value, only enter the password.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 10:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340852#M108853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-28T10:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340853#M108854</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;@Xiaodi Shi​&amp;nbsp; I was not using any context variable for the database config, i always was typing password each time there is a change in the password , or only once when i create the job at first time . &lt;/P&gt;&lt;P&gt;also i build the job on the desktop, not in Talend folder ,which i think may have caused this issue ,it seems (maybe) the talend component in TOS once you save password it directly created an encrypted value of that password somewhere else in the talend folder so that when you run the job it decrypts it from that position and use it , but when i build it on desktop maybe it loses track of the password to be decrypted when launching the bat file ! (this was what i concluded from inspecting  the java file in the build) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for now , i use password with String type and i just type its value with no single/double quote already &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; .&lt;/P&gt;&lt;P&gt;thank you again for the hint . &lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 10:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340853#M108854</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2021-09-28T10:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340854#M108855</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for your detailed description to repro this issue. I will make a testing on the desktop to see if it loses track of the password to be decrypted when launching the bat file.&lt;/P&gt;&lt;P&gt;There is no issue for you when you  launching the bat file in the talend folder?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 03:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340854#M108855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-29T03:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340855#M108856</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp; hello again , &lt;/P&gt;&lt;P&gt;i tried building with password like old method directly putting the password in the component TinputDB pass field , and built the project under talend directory and it did not work from bat file , it shows same error as access denied even when i put the build inside &lt;/P&gt;&lt;P&gt;C:\Talend\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\LOCAL_PROJECT\poms\jobs\process\Myjobs\MyDBtask\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where my DBtask is the same project i want to build , i said maybe the password is there somewhere  else so after the build it can find out the right pass to decrypt but nothing happened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the same context i want to ask @Xiaodi Shi​&amp;nbsp; , how can i modify the java code behind the job itself? when i try to do it it always erase my modifications from job java file and build it as it was originally created , also even if i modify java code and RUN the job also it erase all what i did .&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 09:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340855#M108856</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2021-09-29T09:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340856#M108857</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my last post about this bug &lt;/P&gt;&lt;P&gt;here are the 2 codes from building with context var VS normal process (i added *** just to hide the keys &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	final String decryptedPassword_tDBInput_1 = routines.system.PasswordEncryptUtil.decryptPassword("enc:routine.encryption.key.v1:fW**9oc/FDn***al7***********2liq+Gv***UfA=");&lt;/P&gt;&lt;P&gt;				&lt;/P&gt;&lt;P&gt;				String dbPwd_tDBInput_1 = decryptedPassword_tDBInput_1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;				&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;					final String decryptedPassword_tDBInput_1 = context.password;&amp;nbsp;&lt;/P&gt;&lt;P&gt;				&lt;/P&gt;&lt;P&gt;				String dbPwd_tDBInput_1 = decryptedPassword_tDBInput_1;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 09:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340856#M108857</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2021-09-29T09:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340857#M108858</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please raise a jira issue of DI project on talend bug tracker?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 02:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340857#M108858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-30T02:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340858#M108859</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can not modify the generated Java code of job, the change will be not be saved.&lt;/P&gt;&lt;P&gt;If you want to use own code, please use  tjavaRow, tJava... components  to implement it or use your own Routines. &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 02:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340858#M108859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-30T02:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340859#M108860</link>
      <description>&lt;P&gt;i don't really know how to do it .&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 07:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340859#M108860</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2021-09-30T07:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340860#M108861</link>
      <description>&lt;P&gt;i use those possibiliteis already but they cannot for example read hidden variables that are used in other components &lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 07:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340860#M108861</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2021-09-30T07:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: With build script I suddenly get "java.sql.SQLException: Access denied for user"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340861#M108862</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here is talend bug tracker portal:&lt;/P&gt;&lt;P&gt;&lt;A href="https://jira.talendforge.org/secure/Dashboard.jspa" alt="https://jira.talendforge.org/secure/Dashboard.jspa" target="_blank"&gt;https://jira.talendforge.org/secure/Dashboard.jspa&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can register this portal by going here if you don't have account for talend bug tracker…..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://login.talend.com/register.php" alt="https://login.talend.com/register.php" target="_blank"&gt;https://login.talend.com/register.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and fill out the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;To log in, go here….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://login.talend.com/login.php" alt="https://login.talend.com/login.php" target="_blank"&gt;https://login.talend.com/login.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please let me know if you have any further issues.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 07:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/With-build-script-I-suddenly-get-quot-java-sql-SQLException/m-p/2340861#M108862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-30T07:42:11Z</dc:date>
    </item>
  </channel>
</rss>

