# tMysqlLastInsertId

Obtains the primary key value of the record that was last inserted in a Mysql table by a user.

tMysqlLastInsertId fetches the last inserted ID from a selected MySQL Connection.

For more technologies supported by Talend, see [Talend components](https://help.qlik.com/talend/r/en-US/7.3/components/mysql).

### In this section

* [tMysqlLastInsertId Standard properties](https://help.qlik.com/talend/en-US/components/7.3/mysql/tmysqllastinsertid-standard-properties)

**Related concepts**

[Getting the ID for the last inserted record with tMysqlLastInsertId](https://help.qlik.com/talend/en-US/components/7.3/mysql/tmysqlconnection-tmysqllastinsertid-tlogrow-getting-id-for-last-inserted-record-with-tmysqllastinsertid-standard-component-the)