Posts by Printf • 43 points
3 posts
-
0
votes3
answers2517
viewsA: How to connect PHP 5.6 to Sql Server 2008?
Dude, could you try the connection using the ODBC Driver? It doesn’t help your case, but it worked for me like this: $conexao = new PDO("odbc:Driver={SQL…
-
2
votes2
answers1970
viewsQ: PHP error with Sqlserver Exception 'Pdoexception' with message 'SQLSTATE[08001]: [Microsoft][ODBC Driver 11 for SQL Server]
I installed the right driver in PHP, added the extension in php.ini, but when I try to connect with PDO on sqlserver, this error appears: Exception 'Pdoexception' with message 'SQLSTATE[08001]:…
-
0
votes0
answers56
viewsQ: PDO mysql and PHP error
I already 'decoded' the php.ini file for the PDO to work, restarted several times apache, mysql, notebook, but I can’t connect to Mysql database. Use Windows 7. Worst I installed a virtual machine…