Ubuntu Oracle SQL Developer 1.5 下载

本文介绍Oracle SQL Developer这一免费的Java基础数据库管理工具。它不仅适用于Oracle数据库,还通过JDBC支持MySQL、PostgreSQL及SQL Server等。文章详细描述了如何在Ubuntu环境下将RPM包转换为.deb包进行安装,并配置Sun JDK以运行该软件。

Oracle SQL Developer is a Java-based tool that provides a graphical interface to a database. While it’s main focus is Oracle (of course), it can be hooked up, via JDBC, to many other databases, such as MySQL, PostgreSQL, and SQL Server. It’s similar to Toad, but is provided by Oracle at no cost.

Oracle provides SQL Developer in either an RPM, or a generic binary install. I like the ability to manage packages, but I’ve never had much luck at getting RPM to run on Ubuntu. I downloaded the RPM file, and, using alien, I converted the package to a .deb package (Debian package format) and installed it. I worked like a charm!

I haven’t tested it with gcj, but using Sun’s Java 6 update 7 from the Ubuntu repositories, it ran just fine. After you install the package, do a directory list on /usr/lib/jvm. You’re looking for the Sun JDK - if it’s installed, you’ll have a symlink java-6-sun that points to java-6-sun-1.6.0.07. Once you’ve determined the location of the JDK, run “sqldeveloper” from the command line - the program will prompt you for the path to your JDK. Enter it (probably “/usr/lib/jvm/java-6-sun”) and you’re good to go. (You have to install the package as root - but, for the rest of these steps, use your normal user, not root, as this puts settings in a .sqldeveloper directory off your home directory.) The package installs an icon in the “Programming” or “Development” group. Once you’ve told it where the JDK is, you can use this to launch it.


下载路径:http://www.djs-consulting.com/linux/software/sqldeveloper/sqldeveloper_1.5.54.40-2_all.deb


说明: 这是2010年112日从Oracle官方网站下载的最新版本,官网也就是从这一天开始才正式提供正确的下载路径,所以在此之前没有出现过这个2.1版。 注意: 除非内含jdk1.6.11,否则需要在系统中安装有jdk1.6.11或以上版本,否则无法正常运行。 ================================================================================================= 所有sqldeveloper下载地址: Oracle SQL Developer 2.1.0.63.73 for 32bit-windows-with-jdk1.6.11下载地址: part1: http://download.csdn.net/source/1988257 part2: http://download.csdn.net/source/1988297 part3: http://download.csdn.net/source/1988320 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for 32bit-windows-no-jre下载地址: part1: http://download.csdn.net/source/1990426 part2: http://download.csdn.net/source/1990448 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for 64bit-windows-no-jre下载地址: part1: http://download.csdn.net/source/1990232 part2: http://download.csdn.net/source/1990238 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for linux-noarch下载地址: part1: http://download.csdn.net/source/1990256 part2: http://download.csdn.net/source/1990265 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for mac-osx-no-jre下载地址: part1: http://download.csdn.net/source/1990322 part2: http://download.csdn.net/source/1990328 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for other-platform-no-jre下载地址: part1: http://download.csdn.net/source/1990381 part2: http://download.csdn.net/source/1990408 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ================================================================================================= There is no in-place upgrade available. To install Oracle SQL Developer 2.1 download the file and unzip into an empty folder. Select the "Use folder names" checkbox when unzipping the file. You can migrate your settings from Oracle SQL Developer 1.2.1. or Oracle SQL Developer 1.5.x. See the Release Notes 2.1 for more details. JDK Support Oracle SQL Developer 2.1 is shipped with JDK1.6_11. However, you can connect to and use any JDK 1.6.11 or above. To use an existing JDK, download the zip files listed below "with JDK already installed." Use Check for Updates to install: Third-party database drivers for Sybase, SQL Server and MySQL. For more information on setting up the third-party drivers, see Migrations: Getting Started Version control systems, Concurrent Versions System (CVS), Serena Dimensions or Perforce.
### 使用 SQL Developer 连接 Oracle 数据库的详细教程 #### ### 准备工作 在开始连接之前,需要确保安装了 SQL DeveloperOracle 数据库。SQL Developer 是一个基于 Java 的工具,因此还需要安装 JDK[^1]。 ```bash # 安装 JDK 示例(适用于 Ubuntu) sudo apt update sudo apt install default-jdk java -version ``` 下载并解压 SQL Developer 的安装包后,运行其可执行文件即可启动工具[^1]。 #### ### 打开 SQL Developer 并创建连接 启动 SQL Developer 后,界面会显示“新建连接”的窗口。如果未自动弹出,可以手动选择菜单栏中的“文件”->“新建连接”[^1]。 在“新建连接”窗口中,需要填写以下信息: - **连接名称**: 为该连接指定一个易于识别的名称。 - **用户名**: 登录数据库的用户名,例如 `SYSTEM` 或其他具有适当权限的用户。 - **密码**: 对应用户的密码。 - **主机名**: 数据库所在的服务器地址,如果是本地数据库,则填写 `localhost` 或 `127.0.0.1`。 - **端口号**: 默认情况下,Oracle 数据库监听的端口是 `1521`。 - **服务名**: 数据库的服务名或 SID,可以通过查询数据库配置文件或使用命令行工具获取。 完成填写后,点击“测试”按钮验证连接是否成功。如果测试通过,点击“保存”以保存该连接。 #### ### 访问数据库 连接成功后,可以在左侧的对象浏览器中查看数据库对象,如表、视图、存储过程等。双击表名可以查看表结构和数据内容。此外,还可以使用 SQL Worksheet 来执行自定义查询[^1]。 ```sql -- 示例查询 SELECT * FROM employees; ``` #### ### SQL 开发功能 SQL Developer 提供了多种开发功能,包括但不限于: - **SQL Worksheet**: 用于编写和执行 SQL 查询的交互式环境。 - **对象浏览器**: 快速浏览和管理数据库对象,如表、索引、触发器等。 - **数据库管理**: 支持对用户、角色、权限等进行管理。 --- ####
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dreamcode

你的鼓励是我创作的动力!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值