Quantcast
Channel: MySQL Forums - Connector/ODBC
Viewing all 1136 articles
Browse latest View live

Call to undefined function odbc_connect() (no replies)

$
0
0
I am trying to connect to my local Database from the webserver but i get

Fatal error: Call to undefined function odbc_connect()
in -/-/-/7001238/web/s/sage2.php on line 15"

Any help on how to fix issue.

Here is the code i used to connect.

$odbc['dsn'] = "Sage50";
$odbc['user'] = "Peach";
$odbc['pass'] = "XXXX";
$mysql['host'] = "localhost";
$mysql['user'] = "root";
$mysql['pass'] = "";
$mysql['dbname'] = "sagetest";
$mysql['idfield'] = "id";
$debug=true;
// Step 1: Connect to the source ODBC and target mysql database
if ($debug) echo "Connect to " . $odbc['dsn'] . ' as ' . $odbc['user'] . "\n";
$conn = odbc_connect($odbc['dsn'], $odbc['user'], $odbc['pass']);
if (!$conn) {
die("Error connecting to the ODBC database: " . odbc_errormsg());
}
$myconn = mysql_connect($mysql['host'], $mysql['user'], $mysql['pass']);
if (!$myconn)
die("Error connecting to the MySQL database: " . $mysql_error());
if (!mysql_select_db($mysql['dbname'], $myconn)) die("Error selecting the database: " . mysql_error());
// Step 1.5: loop through each table with steps 2-7
$allTables = odbc_tables($conn);
$tablesArray = array();
while (odbc_fetch_row($allTables)) {
if (odbc_result($allTables, "TABLE_TYPE") == "TABLE") {
$tablesArray[] = odbc_result($allTables, "TABLE_NAME");
}
}

Thank you for your time!

http://www.reddit.com/r/krogers/comments/2iwcsa/ (no replies)

$
0
0
www.reddit.com/r/krogers/comments/2iwcsa/

Cannot Align this Check Box (no replies)

$
0
0
Using foundation 5, I cannot vertically center checkbox in a table cell. It's alwasy centered high. I tried many of the things posted on stackoverflow but have not been successful.... anyone else having an issue.

www.reddit.com/r/newrapido/comments/2ixdze/

www.reddit.com/r/newrapido/comments/2ixd00/

Black Friday overcoats sales (no replies)

$
0
0
Shop fashion Overcoats at Dressve special 2014 Black Friday sales. There is a wide selection of Overcoats at affordable price for you. Dressve Black Friday sales will give customer best discount and free delivery is waiting for you.

www.dressve.com/s/black-friday/overcoats-101810-22/

Connector ODBC 5.3.2 will not download (7 replies)

$
0
0
I have installed MySQl v.5.6.17.0 server on win7 but the Connector ODBC 5.3.2 will not download. The message keeps appearing that visual studio, 2008, 2010 and 2012 are required but all the versions of visual studio including vs v2013, are installed.
Do I have to download it separately?

Any further information would be appreciated.


Gemma

i wanted to connect mysql server to server administrator (no replies)

$
0
0
hey guys, i wanted to connect mysql server to server administrator


i wanted to do work from server side

its about allocating data to multiple clients

please help me out

ODBC Driver Setup (1 reply)

$
0
0
I installed the ODBC unicode driver on several laptops recently and was able to make a connect using the test connection button. When I try to run a query I get an error message "unable to connect to database"?

loading screen can also be done on the site (no replies)

$
0
0
Hi!

I've only seen this applied on Foundation's Orbit plugin, but I'd like to know if adding a pre-loader, or a loading screen can also be done on the site itself? Like it will stay onscreen until everything is loaded on the page?

Thanks!

soundingboard.plantronics.com/docs/DOC-4279


www.reddit.com/r/yolomode/comments/2jofms/

Error when connecting via MySQL ODBC 5.3.4 (no replies)

$
0
0
I have installed MySQL ODBC connector on our Windows 7 workstations to allow users to create queries using Hyland Software OnBase. The query pulls data from the Onbase MSSQL Database and a MySQL 5.5.35 database. When we try to add tables to the query from a MySQL database, we receive the following error message:

"Target data source does not support the specified number of name elements"


Has anyone experienced a similar issue? I have upgraded to the latest release of the MySQL ODBC but this did not resolve the issue. Any suggestions or questions greatly appreciated.

thank you.

PT

MySQL ODBC 5.3.4 and MySQL 5.6.21 Server connectivity (no replies)

$
0
0
hello everyone
I just upgraded mysql server from 4 to latest 5.6.21 GPL server.
I am using Visual Foxpro 9 as front end application.
I installed MySQL ODBC Connector 5.3.4 at client but it always says connection handle is invalid whenever try to connect to server.
anyone facing same problem or have any idea about this problem.
I tried both ANSI and Unicode but unable to connect to server using sqlstring command.
any help appreciated.
regards,
Imran

Help needed to create link between Oracle and MySQL database (no replies)

$
0
0
Hi all,

I have a Oracle 11G db running on Linux server(64bit) .
My target is to automate data extraction process from MySql databases from different server. So I wanted to create a link between MySql and Oracle bases (similar to dblink for oracle databases)
To connect these two databases, I have installed mysql-connector-odbc-5.3.4.

When I try to verify the connection by running this command isql -v MyDB dbuser user123 ; I am getting an error as below

[IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
[ISQL]ERROR: Could not SQLConnect

I need help with configuring ODBC on Linux and creating dblink


Below is the output for odbcinst -q -d
[MyDB]
[MySQL ODBC 5.3 Unicode Driver]
[MySQL ODBC 5.3 ANSI Driver]


Path for .ini files are as below :
/etc/odbc.ini
/etc/odbcinst.ini

This is how my /etc/odbc.ini looks like :
[MyDB]
description = MS SQL connection to 'MyDB' database
#Driver64 = MySQL ODBC 5.3 Driver
Driver64 = MySQL ODBC 5.3 Unicode Driver
Database = mydatabase
Server = servername.com
UserName = dbuser
Password = user123
Port = xxxx

This is how my /etc/odbcinst.ini looks like :

[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/psqlodbc.so
Setup = /usr/lib/libodbcpsqlS.so
Driver64 = /usr/lib64/psqlodbc.so
Setup64 = /usr/lib64/libodbcpsqlS.so
FileUsage = 1

[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc5.so
Setup = /usr/lib/libodbcmyS.so
Driver64 = /usr/lib64/libmyodbc5.so
Setup64 = /usr/lib64/libodbcmyS.so
FileUsage = 1

[MySQL ODBC 5.3 Unicode Driver]
Driver = /usr/lib64/libmyodbc5w.so
UsageCount = 1

[MySQL ODBC 5.3 ANSI Driver]
Driver = /usr/lib64/libmyodbc5a.so
UsageCount = 1



Thanks in advance for you help
NG

Could not find driver 'C:\Program Files\MySQL\Connector ODBC 3.51\myodbc3.dll' in system information (no replies)

$
0
0
I get such message connecting Orcad capture CIS to a MySQL Database through a connector that relies on MySQL ODBC 3.51 Driver for win64.
1) I am working with Windows 7
2) If I check the connection in the windows ODB Source Administration I get success.
3) I installed the driver as User DSN
4) The application Orcad Capture is an 32 bit application
I had no problem in the past with 32 bit platform (Windows XP)
I appreciate any suggestion that couldhelp me to get out from this problem.
Thanks and Regards
Sal

The Walking Dead Season 5 Episode 5 (no replies)

$
0
0
i added an icon to the foundation 5 accordion in plus/minus style which i want to toggle when a panel get's opened and closed again

but of course the icon does not toggle back if i click on a new panel. it stays on minus
what code do i have to add so it toggles back to plus when any other panel is opened?

i am just a jquery beginner so some advice would be nice..

www.reddit.com/r/Waiting4PIP/comments/2lm7c3/hbotv_bernard_hopkins_vs_sergey_kovalev_live/

www.reddit.com/r/parkngo/comments/2lnntr/s8finale_doctor_who_season_8_episode_12_watch/

www.reddit.com/r/FourYrClub/comments/2lnt11/online_the_walking_dead_season_5_episode_5_watch/

MySQL ODBC 5.3 Driver Can't connect to MySQL server 10060 (1 reply)

$
0
0
I am trying to use MySQL ODBC from Windows 7 to connect Mysql running on ubuntu. I got an error 10060.

I am able to connect Mysql running on Windows 7 machine using the same ODBC driver. I just wonder if there is firewall issue on ubuntu. Please advise.

Connecting to MySQL with ODBC in my LAN (no replies)

$
0
0
I have this problem to connect via ODBC to MySQL

"[ODBC Driver 5.1]Can't connect to MySQL server on '192.168.10.124'(10061)"

PS:
The MySQL Server is in a Virtual Machine with IP 192.168.10.124 and Win 8.1 64 bit, the firewall is disabled; the user of MySQL Server has all privileges and has access from any host(type %)
The Client ODBC is in a phisical machine with Win XP SP3, the firewall is disabled

Have you suggestions?

Thanks

Problem to connect to MySQL Server (no replies)

$
0
0
I have this problem to connect via ODBC to MySQL

"[ODBC Driver 5.1]Can't connect to MySQL server on '192.168.10.124'(10061)"

PS:
The MySQL Server is in a Virtual Machine with IP 192.168.10.124 and Win 8.1 64 bit, the firewall is disabled; the user of MySQL Server has all privileges and has access from any host(type %)
The Client ODBC is in a phisical machine with Win XP SP3, the firewall is disabled

Have you suggestions?

Thanks

MySQL as SQL Server Linked Server (no replies)

$
0
0
Our MySQL is installed on a 64 bit linux machine and the SQL Server is a 32 bit windows machine.

In our application I have to transfer data from between a MySql Server deployed on Linux machine and a SQL Server deployed on a Windows machine, its both the ways.
We plan to do it by creating MySql as a linked server on SQL Server. I have created a DSN pointing to the Linux Server and it shows "Connection Successfull" when I "test" it.

I get the following error when I try to add the same MySql server as a linked server

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "MYSQLDNS".
OLE DB provider "MSDASQL" for linked server "MYSQLDNS" returned message "[MySQL][ODBC 5.1 Driver]Lost connection to MySQL server at 'waiting for initial communication packet', system error: 10060". (Microsoft SQL Server, Error: 7303)

The DSN I am using is a System DSN. I have tried with a User DSN too.
I can connect to the mysql instance using a MySQL Workbench. I can telnet into it too.

server 2008R2 vs windows 7 (2 replies)

$
0
0
Hi,

i am not sure if i am at the correct sub forum, but please correct me if i am not.

i am trying to access localhost mysql database server in 2 different computer.
one os is windows 7 professional and the other is windows server 2008R2.

i noticed that the same query takes longer in windows server 2008R2 compared to windows 7. would this be correct?

TIA
Asadilan

dbd::mysql and 64 bit mysql server and client (no replies)

$
0
0
We currently have a web application that makes connections to a mysql database using DBD::mysql and DBI on a Sparc Solaris 10 server. Mysql and the connectors were compiles 32 bit. DBD::mysql and DBI were installed using MCPAN with no special options so I assume its 32 bit.

I am upgrading mysql to a 64 bit version. In the past I was told that the perl modules had to be reinstalled using 64 bit perl, so it generated a 64 bit module/connector.

Initial tests have not displayed errors when the application is running and making connections to the 64 bit mysqld daemon or running mysql at the .

Any information that can be provided would be helpful. What behavior may be displayed to show that there is a problem?

Thanks so much.

Win7 Pro: MySQL ODBC connectors not found in ODBC (1 reply)

$
0
0
Hi I have a problem installing MySQL ODBC Connector 5.1 in Win 7 Pro with SP1.

After installing, it does not show up in ODBC.

Please advise
Viewing all 1136 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>