When using Laravel on Ubuntu, an unsupported property was specified on the PDO object: MSSQL
P粉301523298
P粉301523298 2023-10-30 23:05:50
0
1
657

My Ubuntu vagrant Laravel Homestead setup is configured to connect to MSSQL. Randomly, it started throwing the following error on every query that goes into the MSSQL database (on a Windows server).

Any ideas? I can't find much information about re:this on Google.

I restarted PHP and confirmed that the SQLSRV module was loaded.

SQLSTATE[IMSSP]: An unsupported attribute was designated on the PDO object. (SQL: select top 10 * from [orders] where [ordertype] = SO order by [orderdate] desc)


P粉301523298
P粉301523298

reply all (1)
P粉198670603

Check this problem reportPDO::ATTR_PERSISTENTNot supported. They also reported issues withPDO::ATTR_ERRMODE, so please check the connection of those two parameters.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!