Search code examples
javascriptignite

Apache ignite jdbc Connection credential


Hi peoples I want to set up apache ignite server with credentials like the jdbc does .

for example.
Connection conn = DriverManager.getConnection(url,user,pass);

currently this connection string does not have user and password. It is like Connection conn = DriverManager.getConnection(url);

To do this what configurations I have to do in server so that i have to pass username and password.


Solution

  • Please take a look here:

    https://apacheignite-sql.readme.io/docs/jdbc-driver#section-parameters

    You should use user and password options in connection string like:

    jdbc:ignite:thin://127.0.0.1:10800;user=ignite;password=ignite