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
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인