liferay 门户:生成数据库不起作用

发布于 2024-10-06 05:31:37 字数 332 浏览 0 评论 0原文

我创建了一个 Portal-ext.properties 并添加:

jdbc.default.driverClassName=oracle.jdbc.driver.OracleDriver
jdbc.default.url=x
jdbc.default.username=y
jdbc.default.password=z
schema.run.enabled=true
schema.run.minimal=true

我已将 ojdbc5.jar 添加到 lib/ext。

但是,当我运行startup.bat 时,数据库没有生成? 有谁知道为什么会发生这种情况?

I've created a portal-ext.properties and added:

jdbc.default.driverClassName=oracle.jdbc.driver.OracleDriver
jdbc.default.url=x
jdbc.default.username=y
jdbc.default.password=z
schema.run.enabled=true
schema.run.minimal=true

And I've added my ojdbc5.jar to lib/ext.

However when I run my startup.bat the database isn't being generated?
Does anyone know why this is occuring?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

呢古 2024-10-13 05:31:37

检查以确保数据库已启动并正在运行。您能否使用 SQL*Plus 或其他客户端使用您提供的凭据登录 Oracle?如果你做不到,Liferay 也做不到。

Check to make sure that the database is up and running. Can you log into Oracle using SQL*Plus or some other client using the credentials you've provided? If you can't, Liferay won't be able to either.

追星践月 2024-10-13 05:31:37

您可以尝试使用lifery的数据迁移功能吗?您可以使用默认的 HSQL 脚本启动服务器,然后尝试迁移(也可以自动创建表)。

转至控制面板 -> 服务器管理。
- 输入“从一个数据库迁移到另一个数据库”部分中的值,然后单击“执行”。

Can you try using lifery's Data Migration feature? You can start your server with default HSQL script and then try to migrate (which can automatically create tables as well).

Go to Control Panel->Server Administration.
- Enter the values in section Migrate from One DB to another and click execute.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文