Amazon Q with MySQL database issue

0

I have MySQL database and add it as Data Source for Amazon Q and but I need to know in Sync scope,

This is simple if mysql table I have:

orderNumberorderDatestatuscustomerNumberOrders_counttotal_price
101002003-01-06shipped3634301.84

How to make Amazon Q read this right to search about order and know details about it. (Primary Key) is orderNumber.

But What about : Title column Body column

1回答
0

Hi Fady,

Please check the step by step process of connecting Amazon Q Business to MySQL using the console - https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/my-sql-console.html

The title column and body column in the Amazon Q and MySQL connector refer to the column mappings when syncing data from a MySQL database to Amazon Q.

When the MySQL connector crawls the database, each row is treated as a single searchable document in Amazon Q. The title column specifies which database column should be used as the title or name of the document. Similarly, the body column specifies which column contains the main text content of the document.

Additional column mappings can also be configured, such as columns for user permissions, timestamps, and metadata fields. By default, the primary key column of each database row is used as the document ID in Amazon Q.

The AWS documentation provides more details on all the configuration options for the MySQL connector and how to connect your database.

Useful links:

[1] MySQL connector overview - Amazon Q Business - https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/my-sql-overview.html

[2] Connecting MySQL to Amazon Q Business - Amazon Q Business - https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/my-sql-connector.html

Hope it helps

AWS
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ