![]() Was able to install the driver using the same commands mentioned: What does that mean: packages excluded due to repository priority protectionsĭisabled priorities by editing /etc/yum/pluginconf.d/nf and set enabled = 0 UnixODBC-utf16-2.3.1-1.x86_64 : ODBC driver manager with UTF16 character conversion enabled by default UnixODBC-2.2.14-14.7.amzn1.x86_64 : A complete ODBC driver manager for Linux This showed following warning: Loaded plugins: priorities, update-motd, upgrade-helperĢ packages excluded due to repository priority protections Sudo yum provides /usr/lib64/libodbcinst.so.2 Tried to install offline with following commands:Ĭd /tmp/RedHat6Packages/ sudo yum localinstall msodbcsql-13.1.4.0-1.x86_64.rpm sudo yum localinstall mssql-tools-14.0.4.0-1.x86_64.rpm UPDATE: Resolved the issue in local system by adding the extension dll in php.ini and restarted the server.Ĭould anyone please let me know what have I missed in LIVE configuration?Īs the direct link for installation was not working, had downloaded rpm files for offline installation using below lines: Installed the same on my machine and restarted xampp apache.īut am still getting Uncaught PDOException: could not find driver.msi file for Microsoft ODBC Driver 13.1 for SQL Server - Windows + Linux configureĤ) Restarted httpd service and again tried step 2 but installer failed with same error mentioned in point 2. Then, used the following commands to install the same. Sudo ACCEPT_EULA=Y yum install msodbcsql-13.0.1.0-1 mssql-toolsīut installer fails showing below error: Error: msodbcsql conflicts with unixODBC-utf16-2.3.1-1.x86_64Įrror: Package: msodbcsql-13.1.4.0-1.x86_64 (packages-microsoft-com-prod)Īvailable: unixODBC-2.2.14-14.7.amzn1.i686 (amzn-main)ģ) Hence, tried to install the unixODBC using - Downloaded the package via curl Sudo yum remove unixODBC #to avoid conflicts ![]() Microsoft ODBC Driver 13.1 for SQL Server - Windows + Linux.(Assuming that RHEL 6 installer would work on Amazon Linux too. Wanted to make sure that the LIVE server is compatible to packages and am able to install the required packages correctly.ġ) Looked in the link below where I found that we need to use ODBC for faster data access:Ģ) Tried to install following ODBC driver on Amazon Linux as mentioned below: Want to use odbc connection to access the MSSQL on my LOCAL as well as LIVE server. Production system - Amazon AWS AMI Linux with PHP 5.3.2 Local development machine - Windows 10 with XAMPP with PHP 7 Need to access and execute the MSSQL Stored Procedure from PHP code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |