http://blog.csdn.net/reda0821/article/details/7821007
Linux Error: 111: Connection refused
/etc/hosts
- 127.0.0.1 localhost.localdomain localhost
lsnrctl start
重启
(1) 以oracle身份登录数据库,命令:su – oracle (2) 进入Sqlplus控制台,命令:sqlplus /nolog (3) 以系统管理员登录,命令:connect / as sysdba (4) 启动数据库,命令:startup (5) 如果是关闭数据库,命令:shutdown immediate /SHUTDOWN ABORT (6) 退出sqlplus控制台,命令:exit (7) 进入监听器控制台,命令:lsnrctl (8) 启动监听器,命令:start (9) 退出监听器控制台,命令:exit (10) 重启数据库结束
查看
select * from user_tables;