Very simple!
On server:
SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQL
Delete the USER data source name and define it as a SYSTEM data source name. Go to -> Start -> Settings -> Control Panel -> Administrative Tools -> Data Sources (ODBC): – User DSN : delete the specified User DSN – System DSN : create a new System DSN
Else try to install same 32bits or 64bits version as locally installed.
Locally:
[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
32bit/64 bit conflict – either you install a 32bit driver version or you use/configure the 32bit under C:\Windows\SysWoW64\
Try to install same 32bits or 64bits version as locally installed.
Related Posts:
- PDO with INSERT INTO through prepared statements
- Creating a search form in PHP to search a database?
- How can I do ‘insert if not exists’ in MySQL?
- Commands out of sync; you can’t run this command now
- Cannot simply use PostgreSQL table name (“relation does not exist”)
- How can I do ‘insert if not exists’ in MySQL?
- Fatal error: Call to undefined function sqlsrv_connect()
- PHP Fatal error: Call to undefined function mssql_connect()
- SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens on line 102
- Fatal error: Call to a member function query() on null
- Array to String PHP?
- How to create Temp table with SELECT * INTO tempTable FROM CTE Query
- T-SQL split string
- Efficiently convert rows to columns in sql server
- Update multiple columns in SQL
- Nested select statement in SQL Server
- PDOException: SQLSTATE[HY000] [2002] No such file or directory
- How do I get a file extension in PHP?
- XAMPP Port 80 in use by “Unable to open process” with PID 4
- Inserting data into a temporary table
- CREATE VIEW must be the only statement in the batch
- SQL Server FOR EACH Loop
- Elegant way to search for UTF-8 files with BOM?
- Is SAJAX dead? What to replace with?
- How to drop all tables from a database with one SQL query?
- break out of if and foreach
- Redirect vs RedirectMatch
- Can curl make a connection to any TCP ports, not just HTTP/HTTPS?
- How can I delete using INNER JOIN with SQL Server?
- Error 330 (net::ERR_CONTENT_DECODING_FAILED):
- SQL Server: Invalid Column Name
- Fatal error: Call to a member function bind_param() on boolean [duplicate]
- How do I fix “Undefined variable” error in PHP?
- How do you parse and process HTML/XML in PHP?
- Is there a difference between the UTC and Etc/UTC time zones?
- Fatal error: Call to a member function prepare() on null
- String or binary data would be truncated. The statement has been terminated
- PHP mail not working for some reason
- move_uploaded_file gives “failed to open stream: Permission denied” error
- Error converting data type varchar to float
- How to concatenate text from multiple rows into a single text string in SQL Server
- Count(*) vs Count(1) – SQL Server
- PHP convert XML to JSON
- PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client
- WordPress Error : Upload folder is not writable. Export and file upload features will not be functional
- how to get id from URL using php
- Fatal error: Cannot use object of type mysqli_result
- mysql_field_name to the new mysqli
- mysqli_select_db() expects parameter 1 to be mysqli, string given
- Remove all special characters from a string
- how to convert object into string in php
- Call to a member function on null?
- how to ping ip addresses in php and give results
- do_shortcode not working
- Only variable references should be returned by reference – Codeigniter
- PHP Unset Session Variable
- “Fatal error: Cannot redeclare function”
- php get all url variables
- How to remove unused dependencies from composer?
- how to get date of yesterday using php?
- SQL: IF clause within WHERE clause
- How can I fetch all items from a DynamoDB table without specifying the primary key?
- How to extract and access data from JSON with PHP?
- How to convert array to SimpleXML
- SQL Server dynamic PIVOT query?
- WordPress query single post by slug
- TCPDF ERROR: Some data has already been output, can’t send PDF file
- Limit String Length
- SQL Server “cannot perform an aggregate function on an expression containing an aggregate or a subquery”, but Sybase can
- Get everything after and before certain character in SQL Server
- How to run PHP locally on MacOS
- Call PHP function from jQuery?
- PhpMailer SMTP NOTICE: EOF caught while checking if connected
- What is the meaning of sprintf(): Too few arguments
- Paypal IPN Verification Postback with HTTPS
- Using PHP 7 with WAMP
- Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given… what I do wrong?
- PHP: bootstrap.php
- Display array values in PHP
- Php create a file if not exists
- Page redirect after certain time PHP
- Check if $_POST exists
- PHP – Fatal error: Unsupported operand types
- What is tableName.* in SQL
- Cannot insert explicit value for identity column in table ‘table’ when IDENTITY_INSERT is set to OFF
- $wpdb->get_results(…) returns empty array despite correct query
- How to display multiple Post meta_key/meta_values by SQL query
- Updating WooCommerce variable product stock issue
- Genesis framework comments broken?
- Databases – Submitting data from inputs to database [closed]
- How can I add a new row in a separate database when someone registers via WordPress?
- wordpress site – using custom database and PHP
- Use variable in SQL statement
- Fetching review value using wpdb class
- WP_Query: How to get results from both meta_key options?
- Database SQL query error
- add role on WordPress in PHP on a second database
- Running a PHP SQL script on a wordpress page
- Inserting other fields to existing registration form in a WordPress theme
- can’t delete a row from post_meta table