I recently developed a small registration system in PHP and MySQL. In tests, it worked perfectly. However, from the first successful test, the workbench started to have problems.
Every time I enter a registration, either via PHP, or directly in the workbench, the workbench inserts the number 127 in the primary key, which, if I'm not mistaken, was the last random number I entered for testing purposes, when the test was successful.
I currently use XAMPP as a server for PHP and MySQL. I already restarted it, I already changed the server to MySQL80 and I also restarted the computer, but nothing helped.
The following is the PHP code, the "user" table and the tests in the workbench with their result, respectively:
<?php
// Recepção de dados de cadastro.html
require_once("conexao.php");
$matricula = $_POST['inputMatricula'];
$nome = $_POST['inputNome'];
$email = $_POST['inputEmail'];
$senha = $_POST['inputSenha'];
$login = $_POST['inputLogin'];
echo $matricula;
// Inserção de dados no BD
$result = $conn->query("INSERT INTO usuario
VALUES ('{$matricula}', 'Informática', 'Vespertino', '{$nome}', '{$email}', '{$senha}', '{$login}')");
The usuario table:

The contents of the usuario table:
(No data in the table)
The INSERT command:
INSERT INTO usuario
VALUES (1234567890123456, 'Informática', 'Vespertino', 'nome', 'email', 'senha', 'login');
Query Results:

Did you see? How should I proceed?