Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I need connect to external MSSQL DB, I have installed MSSQL driver. And the connection info is:
uri: mssql://erpcristalylavisa.dyndns.org:1234/ERPCRISTAL
user: dadosprep
password:
Database: dadosprep
But then, I find this error:
Warning: mssql_connect(): Unable to connect to server: mssql://erpcristalylavisa.dyndns.org:1234/ERPCRISTAL en FrxMSSQL->__construct() (línea 38 de home/newwweb/public_html/tequilasdenuestratierra/boutique/sites/all/modules/forena/plugins/FrxMSSQL.inc).
What is that I do wrong?
Comment | File | Size | Author |
---|---|---|---|
error-mssql.connection.jpg | 162.58 KB | Montserramia |
Comments
Comment #1
metzlerd CreditAttribution: metzlerd commenteduri for MSSQL native php driver support should look similar to what you'd pass to the mssql_connect php function. It looks like you are using a PDO style connection string, but a native MSSQL query. The correct uri depends on your freetds configuration when using unix. You might check #1919362: Connection to external MS SQL database for more information. Some are having success using ODBC PDO data connections to get to the mssql database.
Comment #2
metzlerd CreditAttribution: metzlerd commentedIt's been a few months without any feedback... assuming this was resolved or else the user moved on without forena?
Comment #3
abid koodathai CreditAttribution: abid koodathai commentedMr metzlerd.... You Got any ideas.........
did you complete this work??....... pls help me