title: Error: ER_WARN_DATA_OUT_OF_RANGE: Out of range value for column 'vehicleModel' at row 1
body: <p>I made this code where it inserts a new record on command. All the values are working, as shown by the following error:</p>
  <pre><code>code: 'ER_WARN_DATA_OUT_OF_RANGE',
    errno: 1264,
    sqlMessage: &quot;Out of range value for column 'vehicleModel' at row 1&quot;,
    sqlState: '22003',
    index: 0,
    sql: &quot;INSERT INTO vehicles (vehicleType, vehicleModel, vehicleOwner, vehicleSpawnX, vehicleSpawnY, vehicleSpawnZ) VALUES ('players', 2891838741, 159, -620.276123046875, -1254.2381591796875, 11.566247940063477)&quot;
  </code></pre>
  <p>In the last line, all the values are as expected.
  Here's the main part of the code:</p>
  <pre><code>else {
          con.query(&quot;SELECT playerID FROM players WHERE scID = ?&quot;, [socialID], function (err, result) {
              playerID = result[0].playerID
              con.query(&quot;INSERT INTO vehicles (vehicleType, vehicleModel, vehicleOwner, vehicleSpawnX, vehicleSpawnY, vehicleSpawnZ) VALUES (?, ?, ?, ?, ?, ?)&quot;, [&quot;players&quot;, vehicleModel, playerID, pos.x, pos.y, pos.z] , function (err, result) {
                  if (err) {
                      console.log(err)
                  }
  </code></pre>
  <p>The problem is in the second column, vehicleModel, while trying to insert 2891838741. All columns are INT except for vehicleType, that's a VARCHAR(10). I'm using MySQL Workbench 8.0 and JavaScript. I've tried switching the orders of the colums, but it didn't work.</p>
  <p>Thanks.</p>