title: How to MySQL INSERT with prisma in Next.js API server
body: <p>I'm really a newbie on DB programming and Next.js also.</p>
  <p>I have tried the function that received json data should be INSERTed (MySQL) with prisma in Next.js API server.
  According to the explanation of the prisma, the code for inserting new record was as follows.</p>
  <pre><code>const result = wait prisma.[db_name].create({data:[json_data_name]}); 
  </code></pre>
  <p>for the PUT data [json-data_name].</p>
  <p>For every http PUT case , the db connection count was added and after about 500 times inserting, there broke out the problem of <code>&quot;Too many connections...&quot;</code>.</p>
  <p>I think that the number of record inserted is not confined to 500 or..,
  I think the prisma function prisma.[db_name].create makes new connection.</p>
  <p>How to insert 2000~3000 http PUT data into MySQL db with prisma for Next.js API server?</p>