Symfony connect to database: ODBC connection on PHP7 - doctrine-orm

Just use the Driver of Microsoft Github repo - it was already working with the beta and now they stabilized it - I forgot to "answer" the question here by myself - sorry for that delay. Link: Azure MSSQL
How is it possible to connect from symfony2.8 on PHP7 to a MSSQL server using ODBC connection?
Can't find anything in the net, except for some legacy stuff.
What needs to be changed / done? I know that Symfony offers odbc, can I still use doctrine as mapper when connecting through odbc?

It is working, it already worked with the beta release

Related

How to Connect Ncreport with MS Access database

I am new to this. I want to use ncreport with my qt project to generate reports as crystal reports are not compatible with it. I am using MS Access database. I want to connect it with my ncreport. Can anyone guide me Where I can get the hostname/IP address for the QODBC connection? or how I can connect my database with the ncreport?
Help will be appreciated.
Thanks

Is it possible to link a C++ UWP application to a Mysql database?

Can someone point me in the right direction? I a simple way to connect my database I created on WAMPs phpmyadmin to my UWP C++ application.
It seems there is no a simple way to connect your MySQL database in a C++ UWP app. If you work in .net using C# or VB Languages, you can install the MySql.Data Nuget package to connect the MySQL database.
You can see this similar thread for more details: How do I add Mysql.data.dll into uwp with c++?

What the easiest way to create MySQL db for Django in Azure without using ClearDB?

I am trying to create django project with MySQL db in Azure. Here is tutorial how to do it: http://azure.microsoft.com/en-us/documentation/articles/web-sites-python-ptvs-django-mysql/#create-a-mysql-database . It says I should use ClearDB or create Virtual Machine and install and administer MySQL. Please advise tutorial or tell in a nutshell how to go second way (or some else way).

Connecting ColdFusion 8 to Oracle 11g with JDBC

I created a datasource from my ColdFusion 8 admin using JDBC/Oracle Thin Client. The datasource creation was successful.
When Oracle encryption is configured as "Requested" I can browse my ColdFusion app. and run many functionalities with no problem. But when the Oracle encryption is configured as "Required" the connection fails.
The way I tested and know that it was failed was when I log in to my web app. It won't log me in. But when the Oracle is switched back as "Requested" I can log in successfully and run my tasks.
I have ColdFusion 8 Enterprise version and the operating system is Unix.
From the network dept, I was told they have the correct JAR file in place but not sure what is the correct JAR file.
Currently my web apps are running with datasource created using Oracle Thin Clint but the Oracle encryption needs to be switched back to "Requested" otherwise my users are complaining that they can't log in.
Has anyone ever experienced this situation and found a solution?
What should I do so I can use Oracle encryption set to "Required"?
I believe you are looking for the ojdbc14.jar file in the ColdFusion8/wwwroot/WEB-INF/lib directory (this will work with 11g).
I would give Coldfusion a restart but it might not be unnecessary.
Navigate to your Coldfusion Administrator.
In the ColdFusion Administration under data sources. Add a new data source along with your credentials and choose Other from the Database driver options.
Then enter this: jdbc:oracle:thin:#10.10.10.11:1521:ORCL in the JDBC URL Textarea.
In the Driver Class textfield enter oracle.jdbc.OracleDriver.
If you need a different jar (not sure you will) but if you do you can down load it from here.
http://www.oracle.com/technetwork/indexes/downloads/index.html
Hope this is helpful or at least gets you further along.
Frank, Thank you for the answer but the java version running on my CF server is JAVA1.6 and the ojdbc.jar that's installed in there is ojdbc6.jar
Should the version of ojdbc.jar and java be the same? If I am already in the right track with my ojdbs.jar and java files then I'm back to square one
In addition, my further test using Oracle encryption as "Requested", I can run my apps. just fine except when my CF made a call to a str. procedure, it did not return a result. So I got CF error.
From me googling this issue, I found a blog that says this is a problem on CF standard version when using Oracle Thin Client. My CF is Enterprise edition.
I'm confused...is this related? how can I make this work?

ELMAH doesn't insert error logs to SQL DB on production

I have configured an SQL Server 2008 R2 db for ELMAH as described and works fine on development but not production. Both development and production connection string targets to same db, profiler shows nothing for the insert SP if I run production web site. I do not think its a SQL related problem. I have read some posts like
Elmah not working on IIS7 server
Elmah 1.2 does not log to SQL on Windows 2008 IIS7.5 Integrated mode (but works locally)
but even we have same problem, none of them helped me.
Both websites work on Windows Server 2008 R2 / .net 4.
Any ideas? TIA.
UPDATE : The only difference is my web site works integrated mode on development, and classic on on production. If I change classic to integrated it works fine.
So ELMAH doesn't work on classic mode?
it's probably problem with permissions to stored procedure.
use following script to give execute permission to the user (from connection string in productive system)
GRANT EXECUTE ON ELMAH_GetErrorsXml TO USER_NAME
GRANT EXECUTE ON ELMAH_GetErrorXml TO USER_NAME
GRANT EXECUTE ON ELMAH_LogError TO USER_NAME