Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Chinese

Pagetitle
设置数据库
设置数据库

Thai

Pagetitle
การตั้งค่าฐานข้อมูล
การตั้งค่าฐานข้อมูล


When you are accessing Joget for the very first time, the database will need to be first initialized.

You will be presented with the following screen.

Chinese

当您第一次进入Joget, 您需要初始化数据库.

您将看到以下界面.

Thai

การเริ่มต้นใช้งาน Joget ครั้งแรก สิ่งที่จำเป็นจะต้องติดตั้งก่อนคือฐานข้อมูล

คุณสามารถดำเนินการตามขั้นตอนต่อไปนี้


Figure 1: Database Setup


Chinese

图 1: 数据库设置

Thai

ภาพที่ 1 ตั้งค่าฐานข้อมูล


Key in the database connection details. There are 2 additional check boxes at the bottom to include sample apps and users to get you up to speed faster in learning Joget

Click on the Save button. Once the setup is complete, you will be presented with the default login information.

Chinese

请注意,在您处理以上步骤时,您必须预先创建一个空的数据库.

界面下方有两个额外的选项,是否需要创建样例用户和样例应用,以便您快速学习Joget.

Thai

คุณจำเป็นจะต้องสร้างฐานข้อมูลใหม่ขึ้นมาก่อนจะดำเนินการตามขั้นตอนต่อไป

มีช่องให้เลือกเพิ่มเติมอีก 2 ช่องด้านล่าง คือ (Include Sample Apps) รวมตัวอย่างแอพ และ (Include Sample Users) รวมตัวอย่างผู้ใช้งาน ซึ่งจะช่วยให้คุณเข้าใจการใช้งาน Joget เร็วขึ้น


Figure 2: Successful Database Setup


Chinese

图 2: 数据库设置成功

Thai

ภาพที่ 2 การตั้งค่าฐานข้อมูลที่สำเร็จแล้ว

Troubleshooting

Chinese

常见错误

Thai

ข้อผิดพลาดทั่วไป


If you are upgrading from another edition or from a previous version of the Enterprise Edition, please refer to the Upgrade Guide.

You may get the error above or a similar one if you attempt to set up a database with existing data. Do not use existing database to avoid data loss. To resolve this error, change the "Database Name" to another name. E.g. jwdb2, etc.

Chinese

以上错误提示,您在使用一个已有数据的数据库,而不是一个空的数据库. 请不要使用已有数据库,以免丢失数据.

Thai

คุณอาจจะเจอกับข้อผิดพลาดข้างต้นหรือคล้ายกันถ้าคุณพยายามที่จะตั้งค่าฐานข้อมูลที่มีข้อมูลอยู่ อย่าใช้ฐานข้อมูลที่มีข้อมูลอยู่เพื่อหลีกเลี่ยงการสูญหายของข้อมูล เมื่อต้องการแก้ไขข้อผิดพลาดนี้ให้เปลี่ยน ชื่อฐานข้อมูล เป็นชื่ออื่น เช่น jwdb2 เป็นต้น


You may get the error above if Joget fails to connect to the database due to failed authentication. Check your database connection parameters and try again.

Chinese

以上错误提示,数据库连接失败,请核对您的连接参数后再尝试.

Thai

คุณอาจจะเจอกับข้อผิดพลาดข้างต้น หาก Joget ไม่สามารถเชื่อมต่อฐานข้อมูลได้ ตรวจสอบพารามิเตอร์การเชื่อมต่อและทำการเชื่อมต่อฐานข้อมูลอีกครั้ง



Code Block
titleError message
INFO  09 Oct 2015 15:39:03 org.joget.commons.util.DynamicDataSource  - datasourceName=workflow, url=jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=jwdb, user=sa
ERROR 09 Oct 2015 15:39:18 org.joget.commons.spring.web.CustomContextLoaderListener  - ===== Error initializing WebApplicationContext =====

You may get an Error initializing WebApplicationContext after successful set up of database. In this scenario, you will need to check your database connectivity from the app server to the database server.

Chinese

您可能在应用服务器看到以上错误提示. 您需要检查从应用服务器到数据库服务器的连接是否正常,并确保数据库服务正在正常运行.

Thai

คุณอาจได้รับข้อผิดพลาดในการเริ่มต้น WebApplicationContext หลังจากตั้งค่าฐานข้อมูลและใช้งาน Joget ในภายหลัง คุณจะต้องตรวจสอบฐานข้อมูลของคุณจากเซิร์ฟเวอร์ของแอพไปยังเซิร์ฟเวอร์ของฐานข้อมูล ซึ่งเซิร์ฟเวอร์ฐานข้อมูลของคุณอาจไม่พร้อมใช้งาน