text: const mysql = require('mysql2/promise')
  
  const run = async() => {
  
      try {
      
          const conn = await mysql.createConnection({
              host: 'localhost',
              user: 'root',
              database: 'cat-products'
          })
  
          try {
  
              const [res] = await conn.query('DELETE FROM products WHERE id = ? LIMIT 1', 2)
              console.log(res)
              
          } catch (error) {
              console.log(error)
          }
  
      } catch (err) {
          console.log('connection error:', err)
      }
  
  }
  
  run()