# 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.

### In this section

* [tMysqlLastInsertId Standard properties](https://help.qlik.com/talend/en-US/components/7.2/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.2/mysql/tmysqlconnection-tmysqllastinsertid-tlogrow-getting-id-for-last-inserted-record-with-tmysqllastinsertid-standard-component-the)