simonhamp / laravel-nova-csv-import

The best CSV import component for Laravel Nova
https://novapackages.com/packages/simonhamp/laravel-nova-csv-import
MIT License
168 stars 76 forks source link

MySQL PDO Error - unbuffered queries are active. #68

Open joeelia opened 1 year ago

joeelia commented 1 year ago

Expected

  1. Upload .csv with 400 rows
  2. 400 rows are created without error

Actual

  1. Upload .csv with 400 rows
  2. PDO statement error (see error screenshot) suggesting to add PDO:MYSQL_ATTR_USE_BUFFERED_QUERY attribute which is already added and import still isn't working (using Planetscale btw)

Error Screenshot_2023-05-08_at_1 52 35_PM

database.php config

Screen Shot 2023-05-09 at 7 07 53 AM
simonhamp commented 1 year ago

@joeelia I'm afraid I haven't used PlanetScale yet, so I'm not familiar with any specific issues that could come from that setup

I will try to set something up to test this out. In the meantime, please share any discoveries you make about this here