Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,380 --> 00:00:04,530
In this lesson, we want to
do a little initial setup
2
00:00:04,530 --> 00:00:07,410
and configuration
for SQL Developer.
3
00:00:07,410 --> 00:00:10,560
Now, SQL Developer is really
one of the primary tools
4
00:00:10,560 --> 00:00:13,260
that we use to connect
to an Oracle database.
5
00:00:13,260 --> 00:00:16,720
So anytime we have a
database that we've created,
6
00:00:16,720 --> 00:00:20,280
we need tools to connect to
that database and do work with.
7
00:00:20,280 --> 00:00:22,770
One of those tools is SQL*Plus.
8
00:00:22,770 --> 00:00:25,980
And this is an older tool
that's not really deprecated,
9
00:00:25,980 --> 00:00:29,490
and, indeed, it's used by
a lot of DBAs still today
10
00:00:29,490 --> 00:00:31,950
to do a lot of
administration tasks.
11
00:00:31,950 --> 00:00:35,640
But Oracle sort of sees SQL
Developer as being the eventual
12
00:00:35,640 --> 00:00:40,320
replacement for SQL*Plus So
SQL Developer sort of the tool
13
00:00:40,320 --> 00:00:45,510
of choice for both DBAs and
developers depending on what
14
00:00:45,510 --> 00:00:47,620
type of work that you're doing.
15
00:00:47,620 --> 00:00:49,800
So to get this
initial setup, we want
16
00:00:49,800 --> 00:00:51,450
to put a shortcut
on the desktop,
17
00:00:51,450 --> 00:00:55,020
here, so that we can make it
easy to go to SQL Developer
18
00:00:55,020 --> 00:00:56,130
and run it.
19
00:00:56,130 --> 00:00:59,190
So I'm going to click this
shortcut, which is just the app
20
00:00:59,190 --> 00:01:01,680
directory in this E drive.
21
00:01:01,680 --> 00:01:03,750
So what we want to
do here is drill down
22
00:01:03,750 --> 00:01:08,490
to the Oracle software
and find SQL Developer.
23
00:01:08,490 --> 00:01:16,050
Product directory,
12.1.0, dbhome.1.
24
00:01:16,050 --> 00:01:20,080
And now at this point, we're
in the Oracle home directory.
25
00:01:20,080 --> 00:01:22,500
So this is the home directory
that contains all the Oracle
26
00:01:22,500 --> 00:01:24,010
software.
27
00:01:24,010 --> 00:01:26,880
So I'm going to go
down to SQL Developer
28
00:01:26,880 --> 00:01:29,500
and there we have
sqldeveloper.exe.
29
00:01:29,500 --> 00:01:31,560
Now, this is on the
Windows platform.
30
00:01:31,560 --> 00:01:34,320
If you had this
in Linux or Unix,
31
00:01:34,320 --> 00:01:39,000
you would just see sqldeveloper
or sqldeveloper.sh,
32
00:01:39,000 --> 00:01:40,620
as we see here.
33
00:01:40,620 --> 00:01:42,630
And those are just
executable files
34
00:01:42,630 --> 00:01:44,940
that will start
the Java libraries
35
00:01:44,940 --> 00:01:47,760
necessary to run SQL Developer.
36
00:01:47,760 --> 00:01:52,550
So I'm going to right click
here, Create Shortcut, and drag
37
00:01:52,550 --> 00:01:54,040
that shortcut to the desktop.
38
00:01:56,600 --> 00:02:01,450
So now we have SQL Developer
shortcut on the desktop.
39
00:02:01,450 --> 00:02:02,940
Let's click to start it.
40
00:02:06,110 --> 00:02:07,890
And SQL Developer starts.
41
00:02:07,890 --> 00:02:12,930
Now depending on what version
of SQL Developer that you use,
42
00:02:12,930 --> 00:02:17,260
you may have a different
path to get to this point.
43
00:02:17,260 --> 00:02:20,430
You may be prompted
for a java.exe,
44
00:02:20,430 --> 00:02:23,760
executable and that's in
order to run the SQL Developer
45
00:02:23,760 --> 00:02:25,020
software.
46
00:02:25,020 --> 00:02:27,930
So while we're setting
up SQL Developer,
47
00:02:27,930 --> 00:02:31,910
if you receive that prompt
and you can't go any further,
48
00:02:31,910 --> 00:02:35,200
go back into the
Oracle home directory.
49
00:02:35,200 --> 00:02:39,770
Let's come up here and
do a search for java.exe.
50
00:02:39,770 --> 00:02:42,020
So in the Oracle home
directory, either
51
00:02:42,020 --> 00:02:48,020
in jdk bin or jdk jre bin,
we're going to have a java.exe.
52
00:02:48,020 --> 00:02:52,640
So either one of those can be
used to start SQL Developer.
53
00:02:52,640 --> 00:02:55,820
Now, that prompt only
happens the first time
54
00:02:55,820 --> 00:02:57,590
you start SQL Developer.
55
00:02:57,590 --> 00:03:00,630
And depending on whether you
download it from the Oracle
56
00:03:00,630 --> 00:03:03,860
website or that you use
the included software,
57
00:03:03,860 --> 00:03:07,570
you may or may not
get that prompt.
58
00:03:07,570 --> 00:03:09,780
All right, so in order
to use SQL Developer,
59
00:03:09,780 --> 00:03:10,780
we need to connect to a.
60
00:03:10,780 --> 00:03:14,300
Database and in order to
connect to the database,
61
00:03:14,300 --> 00:03:16,540
we have to set up a connection.
62
00:03:16,540 --> 00:03:20,060
So I'm going to click
plus for new connection.
63
00:03:20,060 --> 00:03:23,750
And we're going to
set system@orcl.
64
00:03:23,750 --> 00:03:28,250
A system is a user name,
orcl Is the database.
65
00:03:28,250 --> 00:03:29,080
Put in the password.
66
00:03:32,120 --> 00:03:33,360
Click Save Password.
67
00:03:33,360 --> 00:03:36,770
We need to put in the host
name here, which in my case,
68
00:03:36,770 --> 00:03:37,310
is this.
69
00:03:37,310 --> 00:03:41,930
You change it to the host
name of your choosing.
70
00:03:41,930 --> 00:03:46,140
The SID is going to
be the database name.
71
00:03:46,140 --> 00:03:48,460
And we click Test.
72
00:03:48,460 --> 00:03:52,320
Get the successful prompt
down here and connect.
73
00:03:56,300 --> 00:03:59,170
Let's change the connection
name, it doesn't like that.
74
00:03:59,170 --> 00:04:01,960
System_orcl.
75
00:04:01,960 --> 00:04:03,550
Test again and connect.
76
00:04:07,700 --> 00:04:09,400
Now let's click
the plus again, we
77
00:04:09,400 --> 00:04:11,860
want to set up
another connection.
78
00:04:11,860 --> 00:04:16,670
That will be scott_orcl,
user name's scott,
79
00:04:16,670 --> 00:04:19,840
and the password for
this will be tiger.
80
00:04:19,840 --> 00:04:21,820
This is the old
Scott Tiger account
81
00:04:21,820 --> 00:04:25,150
that includes a few
example schemas and tables
82
00:04:25,150 --> 00:04:26,470
that we can use again.
83
00:04:26,470 --> 00:04:32,030
We set this to our host
name and database name.
84
00:04:32,030 --> 00:04:36,960
Test, connect, and now we
have two connections-- scott
85
00:04:36,960 --> 00:04:38,650
and system.
6749
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.