Sqll demekle bir basha veritabanina baglanmaq

Ilk olaraq Servere baglandigimiz zaman sqll demekle veritabanina baglana bilrikmi onu test edeek.

bash-3.00$ sqll

bash: sqll: command not found

Gorduyunuz kimi command not found hatasi aldiq.

Bunu nece aradan qladira bielrik:

1)      Root useri ile sunucuya baglaniriq. /usr/bin location gedirik.

2)      Vi sqll deyib  icherisine sqlplus “/ as sysdba”; yazib wq! (save) edirik

3)      Root user ile Chmod 777 /usr/bin/sqll  Premession  veririk

4)      Root userinden oracle userien switch edirik.

root@azkkdbdr # su - oracle
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
You have new mail.
Ve yeniden sqll ile veritabanina baglanmaga chalishaq:
bash-3.2$ sqll
SQL*Plus: Release Production on Fri Oct 25 10:26:37 2013
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
SQL> SQL> select name,open_mode from v$database;
--------- --------------------

Gorduyunuz kimi sqll ile veritabanina baglan bildik.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: