Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Oracle password from Datagrip?

Datagrip is connected to an Oracle database, and when trying to run password, the following error is shown:

[42000][900] ORA-00900: invalid SQL statement

Is there a correct way to change one's database password from within Datagrip, or is another tool required?

like image 701
Noctis Skytower Avatar asked Oct 11 '25 15:10

Noctis Skytower


1 Answers

password is a SQL*Plus command that may not work in other tools. But you should be able to use this SQL command instead:

alter user test_user identified by "new_password" replace "old_password";
like image 174
Jon Heller Avatar answered Oct 14 '25 12:10

Jon Heller