odbc

MySQL ODBC 5.1 Set Names not allowed by driver

倖福魔咒の 提交于 2019-12-21 23:19:11
问题 I've a windows 2008 server and an asp website. I moved site to my server from a windows 2003 server and it was working good. It uses mysql as database and Set Names 'Latin5' was it's odbc driver initial statement. I tried to set same initial statement and I got "Set Names not allowed by driver" error message and db update/insert queries gives error. The site is in Turkish language. Thanks for the help.. 回答1: SET NAMES has been removed in MyODBC version 5.1. http://dev.mysql.com/doc/refman/5.1

pyODBC and SQL Server 2008 and Python 3

倖福魔咒の 提交于 2019-12-21 23:13:58
问题 I have pyODBC installed for Python 3.2 and I am attempting to update a SQL Server 2008 R2 database that I created as a test. I have no problem retrieving data and that has always worked. However when the program performs a cursor.execute("sql") to insert or delete a row then it does not work - no error, nothing. The response is as if I am successful updating the database but no changes are reflected. The code below essentially is creating a dictionary (I have plans for this later) and just

PDO Error when ODBC_Exec works correctly

五迷三道 提交于 2019-12-21 20:50:00
问题 I have a project I am converting and am having several weird results with one script so far. The conversion is from procedural ODBC to PDO. I have the following differing result sets when I perform the old and new query constructs. $con = odbc_connect("database","user,"pass"); if(!$con){ exit("error"); } $sql = "SELECT column,column2 FROM table WHERE column3=number AND ((column2 Like '%hold%') OR (column2 Like '%panic%'))"; $result = odbc_exec($con,$sql); if(!$result) exit("error"); $temp =

How do I set up MySQL to work with C#?

折月煮酒 提交于 2019-12-21 19:49:07
问题 I have been tasked with creating a new frontend for a legacy website. It is written in php (pre-oo), and uses a MySQL database. The hosting provides a .Net package, but does not offer Ms Sql Server. This is fine, as the database is working fine, but I really want to use Asp.net for the pages. However, most tutorials I've seen on connecting to MySQL from C# require installing an ODBC Driver specifically for MySQL. Not controlling the hosting env, I doubt I'll be able to do just that :) Have

MySQL connection using ODBC (5.1) with SSL

梦想的初衷 提交于 2019-12-21 17:42:31
问题 We've got a client application that connects to our online MySQL database (5.1.44-community-log) thru a ODBC connector (the server is a managed* dedicated webserver). This works very nice. However I can't get it to work using SSL. This is what I've done so far: 1. MySQL server I've got the server manager* set up MySQL with SSL, this is 'proven by': mysql> SHOW VARIABLES LIKE '%ssl%'; which results is this response: +---------------+---------------------------------+ | Variable_name | Value |

Logging ODBC, SQL Server

末鹿安然 提交于 2019-12-21 14:58:27
问题 How to log, trace or get queries that an application send to Microsoft SQL Server 2008 thru ODBC driver (without modifying application...) Maybe it can be done with SQL Server itself or ODBC has some query logging? 回答1: @davispuh, you can use the SQL Profiler to trace SQL statements. you can also use the ODBC Tracing. 回答2: To Create a Trace using SQL-Profiler: On the File menu of SQL-Profiler, click New Trace, and connect to an instance of SQL Server. The Trace Properties dialog box appears.

Laravel: PDO Exception, cannot find driver even though the driver is installed and tested [duplicate]

£可爱£侵袭症+ 提交于 2019-12-21 12:38:15
问题 This question already has answers here : How to use SQL Server connection in Laravel? (4 answers) Closed 3 years ago . I'm working on a Laravel 5.1 project that has to connect to an existing MS SQL Server database. My project is currently on a Ubuntu 16.04 LTS server using Apache 2.4.18. I've installed the Microsoft ODBC Linux driver for SQL Server (version 13.0.0.0) on the machine and tested it manually with the sqlcmd command: sqlcmd -S DatabaseIPAddress -U DatabaseUsername It all worked

Connecting iPhone to an ODBC Database

安稳与你 提交于 2019-12-21 05:41:23
问题 I'm new to iOS development. I have to make an application that connects to a Sybase database. My bet would be to use ODBC. Does anyone know how to connect to an ODBC enabled database from within objective C. I've encountered applications that can do this but I don't seem to find any specific iOS related documentation or source code examples. Does anyone have even the slightest idea? Thanks in advance! 回答1: There is a new ODBC SDK for iOS available at http://ODBCrouter.com/ipad complete with

Quickly changing SSIS-packages data source parameters for easy migration

你说的曾经没有我的故事 提交于 2019-12-21 05:32:29
问题 I would need to migrate a SQL database from Sybase to MS SQL Server. Before doing the actual migration on the production server I first created an SSIS-package with SQL Server Management Studio's Import/Export Wizard for testing with other databases. The test migration was successful and I would now like to deploy my SSIS-package to the real servers. However, it seems I cannot simply run the package in Management Studio choosing different data sources for it - it only runs on the same

How to get at the database schema of a hidden DB?

穿精又带淫゛_ 提交于 2019-12-21 04:32:22
问题 My customer is a dental practice that has bought a piece of practice management software. This software was installed on their local server, including a patient database, a schedule and all manner of medical records. Now they want me to write some utilities for them that aren't provided with their package, and for this I need the ability to query this database. I tried calling tech support of the software manufacturers (Patterson/EagleSoft), and it's difficult finding anyone who understands