Changing Password to connect the Server in Apache Ignite

JAYAPRAKASH :

I am running apache ignite 2.8.0. Using java thin client i am able to connect the server with default username = 'ignite' and password = 'ignite'.

ClientConfiguration cfg = new ClientConfiguration()
        .setAddresses("127.0.0.1:10800")
        .setUserName("ignite")
        .setUserPassword("ignite");

Now i have two question:

    1. My java thin client terminated immediately, how can i keep alive my thin client?
    1. How to change the default username = 'ignite' and password = 'ignite' to my wish?
alamar :
  1. Avoid closing it? Why would it terminate otherwise? Do you get any error messages?

  2. Execute the following SQL command: ALTER USER "ignite" WITH PASSWORD 'newPassword';

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=26812&siteId=1