Fatal error: Uncaught PDOException: could not find driver in /storage/ssd5/288/2329288/public_html/koneksi.php:2 Stack trace: #0 /storage/ssd5/288/2329288/public_html/koneksi.php(2): PDO->__construct(‘mssql:host=127…’) #1 /storage/ssd5/288/2329288/public_html/staff.php(3): include(’/storage/ssd5/2…’) #2 {main} thrown in /storage/ssd5/288/2329288/public_html/koneksi.php on line 2
Host is localhost
Please correct it.
DBUser can be found in cPanel
DBName can be found in cPanel
DBPassword is the password you set when creating the database.
You are accessing MSSQL from 000webhost server where 000webhost server only has MySQL driver, not MSSQL driver.
On most NON-Windows server there won’t be any MSSQL driver on it so when you pick a host that you want to use MSSQL driver you must pick a hosting provider that either support MSSQL driver or pay for Windows hosting.