简体   繁体   中英

oracle sql developer connection

I tried to install oracle sql developer in windows 7 32 bit for this first i install jdk 8 and then i install this file sqldeveloper-4.1.3.20.78-no-jre from oracle website .. then when i run sqldeveloper application it shows this

check image图 1

then this shows create new connection now when i create connection it shows error check image

图 2

how to solve this error?

You need to install Oracle Express Edition (XE) and set it up to run on your computer, on port 1521 - for your connection to work.

SQL Developer is just a client - there's no database there, unless you've put it there.

You need to have a running database to use with SQL Developer. If you haven't installed it yet follow the official documentation . If you do have the database but can't connect to it, make sure that

  • The listener is up and running on the machine you're trying to connect to (in your case it's localhost )
  • You've provided the correct port number and SID

Apart the suggestions of @Nikita and @thatjeffsmith, I highly suspect the matter is that you are using the pre-existing user hr that you didn't create by yourself but that was created during installing your Oracle Express instance.

This user is by default locked . It must be unlocked by an administrator (for example SYSTEM user).

After unlocking hr user, don't forget to grant to it CONNECT and RESOURCE roles. Find more details on this page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM