Question Failed odbc connection with asp

gbrito

New Pleskian
Hello guys,


After the automatic migration done by Plesk from MySQL ODBC Driver 5.3 to MariaDB Connector/ODBC 64-bit 3.2.4, I lost the connection, and my ASP site returns an error.
The MySQL database connection file is located inside the Plesk hosting.
Is the driver name correct?


Con.Open("DRIVER={MariaDB ODBC 3.2}; SERVER= ; PORT=3306; DATABASE= ; USER= ; PASSWORD= ;")

[courtesy admin translation]

Olá pessoal,


Após a migração automática feita pelo Plesk do MySQL ODBC Driver 5.3 para o MariaDB Connector/ODBC 64-bit 3.2.4, perdi a conexão, e meu site ASP retorna um erro.
O arquivo de conexão com o banco de dados MySQL está localizado dentro da hospedagem Plesk.
O nome do driver está correto?


Con.Open("DRIVER={MariaDB ODBC 3.2};SERVIDOR= ;PORTA=3306;BANCO DE DADOS= ;USUÁRIO= ;SENHA= ;")
 
Last edited by a moderator:
1 - i install manually last version of MariaDB ODBC Driver 32 and 64 Bit and then Add Permission ( IIS_IUSRS ) by allow ( Read ) and ( Read & execute ) to file ( maodbc.dll ) in ODBC Driver Path , Usually Folder Path : ( C:\Program Files (x86)\MariaDB\MariaDB ODBC Driver )

2 - Then Restart Web Server item by Plesk service monitor

3 - Click in ( Refresh ) button in Plesk panel => Tools & Settings => Server Components

Problem is Resolved
 
Back
Top