Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





MySQL 5.0 And ODBC


Tried the ODBC 5 connector that MySQL provides - it is an Alpha product and is really not ready for prime time. Does anyone know of any 3rd party ODBC connectors - even commercial ones - that are ready for MySQL 5.0 and support the new stpred proc with parameters functionality in MySQL 5?




View Complete Forum Thread with Replies

Related Forum Messages:
Unable To Connect To Database :: Odbc.ini Or The Odbc.inf
We are using MySQL on Linux server and "NetCOBOL V7.0L10" to access our MySQL database. Our Linux ODBC driver description is "MyODBC 2.50 Driver DSN".

When trying to establish a connection to the database, we receive an SQLSTATE value of "S00?M" where "?" changes with each execution. The SQLCODE value is always 00000104 and the SQLMSG is always "[nxDC[C]MOB]cesdne o sr sxlclot Uigpswr:YS".

We suspect that there is something wrong with either the odbc.ini or the odbc.inf file definitions but can't quite determine what the error is.

View Replies !
ODBC Connection :: ODBC -- Call Failed
I am trying to connect to a MySQL database on our Linux Server using MS Access on a Windows 2000 machine and MySQL ODBC drivers.

Each time I try to connect I get the following error:

*****************************
ODBC --call failed.

[TCX][MyODBC]Host 'du-069-0221.access.clara.net' is not allowed to connect to this MySQL server (#1130)
*****************************

View Replies !
Mysql + Odbc
What are the advantages / disadvantages of using odbc to connecting to a
(mysql) database???

View Replies !
Using MySQL From ADO.NET And ASP.NET Via ODBC
I have the following problem when I try and connect to MySQL -

REGDB_E_CLASSNOTREG(0x80040154) - (MySQL ODBC 3.51 Driver).

I have used this driver via VB6 using ADO and ODBC without a problem. The connection string I'm using in ASP.NET and using .NET Framework 1.1 and MDAC 2.8 RTM is:

MyConnectionString = "Provider=(MySQL ODBC 3.51 Driver);Data Source=localhost;uid=;initial catalog=property;password="

View Replies !
How To Configure MySQL ODBC Driver To Connect To A Mysql Server On My Own Side Of The Router?
Using MS Access, I have attached to MySQL servers in other states
and other countries on the other side of my router. But when I use the
MySQL ODBC driver 3.51 to connect to a MySQL server on my own LAN,
the driver tells me it cannot make the connection. Here are the ODBC
driver connection parms:

Data Source Name: (free field - name my "my linux box" will do nicely)
Host/Server Name (or IP) - something like MSQLUserName@ServerName.net
has worked fine for me in the past. Now I'm trying 192.168.1.106
Database Name - whatever, mysqldb works fine, any valid db

User - root
Password - myrootpass

Port - 3306 has worked fine 4 me N the past. Dunno whether 2 use now
SQL Command On Connect - haven't ever put anything here

Perhaps there is some configuration in mysql user privilege for the
mysqluser "root" that would prevent him from logging from a remote PC
to the mysql server?

View Replies !
Win XP Missing MySQL ODBC 3.51
Windows XP sp2, Installed MyODBC 3.51 and the driver.
It does not appear in the User/System DSN ODBC control panel.
Does not appear in the driver tab
Is listed in the ODBCINST.INI
and appears in the registry

REGEDIT4
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREODBCODBCINST.INIMySQ L ODBC 3.51 Driver]
"UsageCount"=dword:0000000c
"Driver"="C:WINDOWSsystem32myodbc3.dll"
"Setup"="C:WINDOWSsystem32myodbc3S.dll"
"APILevel"="2"
"ConnectFunctions"="YYN"

View Replies !
Mysql Access Through ODBC
I have a Mysql table which has over 40000 records.
If i want to access from VB using ODBC connection.
will that be good choice related to performance wise.
or any other options there.

View Replies !
MySQL ODBC 3.51 Driver
I have just installed the MySQL ODBC driver 3.51 on an XP machine
which is behind a proxy.When I configure my DSN, I can't access the MySQL server which is in the "outside" world.I get this error:

[MySQL] [ODBC 3.51 Driver] Unknown MySQL Server Host 'mysqlserver.com'
(11004)

When I click the [Configure] button in my DSN configuration, I cannot
see any field to define a proxy.

View Replies !
Connecting To Mysql Vi ODBC
I'm trying to connect to a remote mysql database via odbc but for some reason I keep getting the following error in the odbc panel
Code:

[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '69.65.107.209' (10060)

I added access to % in mysql access host for now to see if it might just work this way... but for some reason I can't get it working.

View Replies !
MySQL, ODBC And MS Access
I am working with MS Access and mySQL via ODBC.
The developer of the mySQL db as used "text" fields in several tables instead of Char/Varchar fields. This poses a problem in that the fields only contain 8 or 10 char and I cannot use them in MS access queries to Join tables since the come across as MEMO fields inthe ODBC linked table.. The developer stated to me that the ODBC driver sometimes does this to Char/Varchar fields. I have worked with ODBC drivers to other DB's including Postgres and Firebird and have never had this problem.
I am going to recommend to my client that he have the developer create an empty datbase whereby he replaces the collumns defined as "text" with CHAR (x) of appropriate lengths. Fortunately the other tables in sysem are using integer fields for the keys.
Is there a tool that can pump data from one mySQL database to another and deal with the fact that I am moving data from text to a char/varchar field?

View Replies !
MYSQL ODBC Timeout
I have a simple MS access 2K form to update a MYSQL table. If it sits for about 5 minutes I assume it timesout and reports
a ODBC Call failed then Object invalid no longer set..no current record..
If I close the form and re-open I'm back in business..
Can anyone tell me if there is a registry setting or something to get around this issue

View Replies !
ODBC To Connect Mysql
I would link to use VB to connect mysql using ODBC, but the mysql database is outside my OS. I'm sure that the setting of ODBC is done, but when I connect the ODBC, it prompt me the error message " Host 192.168.xxx.xxx is not allow to connect to mySQL server" What wrong with it?

View Replies !
[MySQL][ODBC 3.51 Driver][mysqld-5.0.19-log]MySQL Server Has Gone Away
My site is hosted on Windows IIS, and I use ASP, and connect to MySQL 5.0.19 via an ODBC 3.51 driver.

MySQL is I think hosted on a Linux machine.

My problem is this:

My site keeps getting lots of these errors messages each day:

[MySQL][ODBC 3.51 Driver][mysqld-5.0.19-log]MySQL server has gone away

I mean hundreds - e.g. for Feb alone, so far, these errors have been logged in my error table:

View Replies !
ODBC, MySQL & Access 2003
I'm not especially new to databases and I have used ODBC before with
other data sources, but I cannot seem to get Access 2003 to talk to
MySQL 4.0.15.

I have MySQL running with new tables defined, but I cannot get a
connection to those tables via ODBC using MyODBC 3.51.

Can anyone point the way?

View Replies !
MySQL ODBC 3.51 Driver Very Slow!
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL
tables to a Microsoft Access 2003 database. I am finding that the data from
the MySQL tables takes a hell of a long time to load making any kind linkage
with my Access data virtually useless.

I have the MySQL driver setup in as a USER DSN. The MySQL data is sitting
out on a server and the Access database is running locally.

View Replies !
ODBC / MySQL Connection Issue
I'm trying to allow someone from a specific IP to connect to a mySQL db
w/OBDC. I've run several GRANT queries on the mysql db i.e.

GRANT select,update,insert,delete,create,drop,alter,inde x on ESdemo.*
to 'aname'@'24.55.41.125' identified by 'pwd232123';

GRANT select,update,insert,delete,create,drop,alter,inde x on
ESdemostore.* to
'aname'@'santamonica-cuda4-24-55-40-1.vnnyca.adelphia.net' identified
by 'pwd232123';

but when I try to connect I get "Request returned with SQL_ERROR." Any
ideas? Does it sound like a GRANT issue?

View Replies !
MySQL ODBC Connection Problem
This is my first task with MySQL. We have a site with php as front end
MySql as back end. The remote database is on Linux.

Now my task is to update some data to MySql database (on the web
server) from VB. My operating system id Windows.

I installed the MySQL ODBC 3.51 driver on my system. Now when i'm
trying to create a DSN with the above driver, I'm getting an error '
Lost connection to MySQL server during query'.

What could be the reason...the same error is coming when tried to
create a ADO connection from VB.. and the same error when tried to
create a service from MySQL front end.

View Replies !
Persistant Mysql / Odbc Error
I just installed mysql-max-4.0.20-sun-solaris2.8-sparc and ran the
mysql_install_db script. I try to access a mysql db using a Lisp app
that accesses the myodbc driver through our Lisp's odbc interface,
AllegroODBC. This used to work fine under
mysql-3.23.52-sun-solaris2.8-sparc, but now I keep getting the error

"While connecting to database, odbc returned the error:
[TCX][MyODBC]Access denied for user: '@localhost' to database
'umls2002ac'
(Sqlstate: S1000, native error code 1044)

[condition type: ODBC-ERROR]" .

Can anyone suggest a fix for this?

View Replies !
Persistant Mysql/odbc Error
I just installed mysql-max-4.0.20-sun-solaris2.8-sparc and ran the mysql_install_db script. I try to access a mysql db using a Lisp app that accesses the myodbc driver through our Lisp's odbc interface, AllegroODBC.

This used to work fine under mysql-3.23.52-sun-solaris2.8-sparc, but now I keep getting the error

"While connecting to database, odbc returned the error:

[TCX][MyODBC]Access denied for user: '@localhost' to database
'umls2002ac'
(Sqlstate: S1000, native error code 1044)

[condition type: ODBC-ERROR]" .

Can anyone suggest a fix for this?

View Replies !
MySQL ODBC Driver In DataLink
I'm trying to use the Windows DataLink (udl) to set up a connection to a
MySQL database.

I've installed the 3.51 ODBC driver from the MySQL website - however, using
a DataLink, it doesn't show up as a DataSource -

How can I get it recognized there?

View Replies !
Demon Hosting How To Use It (odbc/MySQL)
My customer wants a PHP web page; very basic one which I can do for him but I have no idea how to set up ODBC connection (I want to use Access format database) on his account. I can do that with fasthosts quite easily but I cannot find anywhere this option on his demon account.

p.s. How do I use MySQL with demon? do I need to install anything on my pc to connect to their server?

View Replies !
Direct Or ODBC MySQL Access
at the risk of sounding stupid, how can I tell if my site uses direct mySQL access or ODBC mySQL access.

View Replies !
Connecting To MySQL From Excel Through ODBC
I'm trying to access my MySQL db, hosted by my ISP, from my local Excel application. However, I don't know how to have the ODBC to connect with the db. It doesn't recognise the server name. Here is the info I received from the ISP:

Host: localhost
Database: dainville_be
User name: dainville_be
And of course, the password.

Obviously, "localhost" is not enough to locate the db from the local ODBC connection... How should I proceed?

View Replies !
MySQL ODBC Driver Error
I am using C# to edit and view a MySQL database. I have added the ODBC driver for MySQL to my computer and I can add the database to my project in Visual Studio. At first it gives me an error and I have looked in other forums and found that there are two periods were their should only be one and I have since corrected this by editing the statementment in the designview with...

SELECT * FROM `mu`.`environment`

instead of

SELECT * FROM `mu`..`environment`

At this point when I click finish, VS2005 says there were errors generated with the tableadapter configuration, specifically the SELECT statement.

ERROR [HY010][MySQL][ODBC 3.51 Driver][mysqld-5.0.26-community-nt]

If I continue anyways I can preview the data just fine, however if I add a datagridview to my form it is blank. In the design view, it is not displaying any of columns. It is like the columns don't exist. What am I doing wrong? Also, I see there is a ADO.NET driver for MySQL, would that work better and if so how can I add the database to my project.

View Replies !
Performance On MySQL 5.1 / ODBC 5.1.4 Driver
Following procedure needs about 25 sec. to find the record I am asking for:

Private Sub btnLesen_Click()
sSQL = "SELECT * FROM tblAdressen WHERE AdressNr = 8"
aRs.CursorLocation = adUseClient
aRs.Open sSQL, oConn, adOpenKeyset, adLockOptimistic
If aRs.RecordCount > 0 Then
sevVorname = aRs!Vorname
sevStrasse = aRs!Strasse
sevOrt = aRs!Ort
sevName = aRs!Nachname
End If
End Sub

There are around 14'000 records in the table, Nr. 8 is the first one! I am trying to find the reason for the bad performance for days - without any success.

Following Flags are checked for the connector:

- return matched rows instead of affected rows
- Allow big results
- Use compression
- Treat BIGINT columns as INT columns
- Enable safe options
- Don't prompt when connecting
- Enable dynamic cursors
- Ignore schema in Column specification
- disable driver-provided cursor support
- Don't use setlocale()
- Don't cach results of forward-only cursors
- Ingnore space after function names
- Disable catalog support
- Disable transaction support
- Force use of forward-only cursors
- Limit column sizs to signed 32-bit range

The file "my.ini" I didn't change!

I work with Win2000 & VB 6.0

View Replies !
MySQL ODBC 5.1 Error 10048 ..
MySQL server is on a Linux machine, and ODBC is created on local machine (Windows Server 2003 Standard)...
I need to insert data into the mySQL tables via ODBC, but I keep getting MySQL ODBC Driver 5.1 Cannot connect to xxx.xxx.xxx(10048).

I tried setting the connection pooling option, but same error.
What is the way to go about this?

View Replies !
ODBC Setup On MySql Server 5.0
I've installed the MySql server 5.0 successfully, opened and verified it working (the instance is running, i've used the server window to login and used a few commands in it). I've also installed the MySql Query broswer along with the 5.1 odbc driver.
However intalling the driver didn't populate a User DSN and I've no idea how to add it myself i.e. the settings! The driver is present in the driver tab.......

View Replies !
ODBC To MySQL Does Not Show Columns
I have MySQL running on a linux box (OSCommerce). From a remote computer I ODBC'ed using MySQL ODBC driver 5.1 and connected sucessfully. However, after submitting quaries, the columns don't show. I am using a third party software called KnowledgeSync to query the database. The query shows the tables, but no columns. Changing the Long Tablename Left and Right character to a double quote shows the columns but no data.

View Replies !
Remote ODBC Tables Via MySQL
I've been using MySQL as a db engine behind a PHP application, and it has worked very well so far. Now I need to access some data held in a remote Oracle database and the only access I'm likely to get is via ODBC.

I know the federated engine only works with MySQL, but is there a way of viewing these tables through MySQL? It would be much simpler (and more portable in the long run) to maintain an illusion for the app that it is looking at only one database. If there's no way to do this, will I need to set up a script that dumps data into the local database?

View Replies !
Send Dynamic SQL To MySql Using ADO Or ODBC
Does anyone have a working example of VBA (office Xp macro) code that

1) connects to a remote MySql database
2) allows the sending of a dynamically constructed select statement

View Replies !
Configure MySQL ODBC Driver
I'm working on a MFC application and I need to be able to prompt the window "MySQL ODBC 3.51 Driver - DSN Configuration" for the user to configure a dsn connection...

This is like selecting the "ODBC Data Source Administrator", selecting the File DSN tab, clicking one of the dsn links and then pressing configure...

Is there a way to prompt this precise window programmatically?

View Replies !
ODBC Connection To External MySQL DB
I am running VB6 (old I know) and trying to connect to an external database (on my server).

I have the "MySQL Connector/ODBC 3.51" installed (which I think I need).

However when I run my VB6 application I am getting the following error:
Run-time error ?' HY000 [MYSQL][ODBC 3.51 driver] could not find driver {MYSql ODBC 3.51} in system information.

I was able to do this on my older server, from my old home PC ages ago but I can't remember what I did to get it work.

View Replies !
Strange Error When Trying To Delete A Row From MySQL Via ODBC
Here's another strange error I'm getting when using ODBC to access
MySQL. This time ODBC is being more informative, although all the
documentation I've looked at, claims that the function in question
(SQLSetPos) should not return the error!

I have a result set that has been opened for update.
I am trying to delete the current row with a call to SQLSetPos:

rc = SQLSetPos( hStmt, nRow, SQL_DELETE, SQL_LOCK_NO_CHANGE );

This reports the ODBC Error HY106, Native Error 534.
"Fetch type out of range"
(All the MySQL errors I've seen are in the 1000s or 2000s)

nRow is the current row, retrieved by a call to SQLGetStmtAttr:

rc = SQLGetStmtAttr(hStmt, SQL_ATTR_ROW_NUMBER, &nRow, sizeof(nRow), NULL);

The SQL_ATTR_CONCURRENCY attribute has been set to SQL_CONCUR_LOCK.

I can delete a row by simply executing the SQL statement, but for
various reasons it would be very good if I can delete a row from a
result set. Has anyone seen this odd error before? Any clues?
Or perhaps an alternative approach to deleting a row from a result set?

View Replies !
SQLColumns Function And MySQL ODBC Driver
The MySQL ODBC driver returns an error when calling SQLColumns function with an empty Table parameter:

[MySQL][ODBC 3.51 Driver][mysqld-4.0.18-nt]Can't use wildcards in table name

Is there a newer version which supports wildcards in table name? Actually I don't really need wildcards, but I need to get the list of all columns in all tables.

View Replies !
ODBC Conversion Error Between MySQL And MS Access
I am trying to link MySQL tables (4.1.1-alpha-standard, 5.0.1-alpha-nt-max) via ODBC (3.51) to MS Access 2000. OS is Win2k professional, english version.

Everything is working fine, but columns defined as "time" are first interpretated as date (e.g. "13:30:00" is changing to "31.05.2015"). When opening the design view of the new table in MS Access and selecting the particular column, it is possible to select a new format (e.g. "Long Time"), but now the time is simply "00:00:00". What is wrong?

Also changing the regional options in the control panel of Win2k does not help. Current setting for time is format: "HH:mm::ss" and time separator is ":".

View Replies !
Odbc Problem While Hosting Mysql In Ubuntu
I am new comer in mysql, i have a code that is running well when i am using vb6 to accessing mysql database which is hosted in windows.
But the odbc facing problem ( table "ttt" does'nt exist ) when i am trying to host the mysql database in ubuntu.
I have trying to looking for the solution from google, but until the time of writing this thread, i got no solution.

View Replies !
Create Odbc Connect From Mysql To Oracle
can someone provide step by step instructions on how to set up a odbc connection from mysql to oracle and have records in a table transferred from a mysql table to an oracle table. Mysql and Oracle are on Solaris OS.

View Replies !
Retrieving Data From Non-MySQL Server Via ODBC
I'm investigating using MySQL instead of the dreaded Access to retrieve logged information from a process control system. Is there a way to use ODBC to get rows INTO MySQL? All I can find in the manual is how to set up MySQL as an ODBC server for other applications. The control system is configured as an ODBC server, and Access will connect to it, but hangs and dies when I try to retrieve data.

View Replies !
Importing ODBC Database Directly Into MySQL
I'm trying to import a database from SPSS into mySQL. SPSS has an ODBC driver and this has seemed to work. For example, I can access this via Microsoft Access. However, I want to avoid any commercial software and so would like to import it directly via the mySQL command line. Is this possible? I know that via mysqlfront you can import an ODBC table into mySQL, but that is commercial software and I only want this one function.

So is there any syntax or anything I can type in the command line to import an ODBC database?

View Replies !
Access > Odbc > Mysql | Locked Table?
i have a mysql db and an odbc connection setup to it under user root. i need the odbc connection so i can have connectivity in access 2000. select queries work fine. i can view the tables in access etc.

however update queries won't work for me. i know last week it worked, and this evening after it not working i opened up another copy of the database and it worked on that one... but only once, i went back and it didn't work in that one either.

and for the life of me i cannot figure out what would be different with the database now.
the error i'm getting is just the generic: "can not update 3 records due to lock violations"

however, what is locking odbc/access out of the mysql db? is it mysql? is it odbc? or is access locking the records? im sure it isn't mysql, and i think it is odbc but i don't know where. i downloded new drivers for odbc. i thought about updating the access jet engine but couldn't find updates... Code:

View Replies !
Can I Use Asp And ODBC Driver To Connect To MySql Database
I just migrated my access db to mysql and I'm trying to figure out how change my connections and code for mysql, I was told that I would have to use php, but I also read that it can be done with asp using an ODBC driver which I have installed on my server. If I use the ODBC driver would I be able use the same SQL that I used to connect to the access DB? what other issues would there be?

View Replies !
Send Data From Excel Via ODBC To MySQL Table
I have an excel file that updates continuously with new data. I would like to send this data to a MySql table on a periodic basis, say every 5 mins or so, via ODBC. Does anyone know if this is possible?

View Replies !
ODBC Connection To MySQL On Shared Hosted Website
I'm trying to connect to a mySQL database that exists in connection w/ my website. I created the database using c-panel. Everything that I use to access the website from my site uses "localhost" as the host name. I installed the ODBC drivers for Windows on my XP machine and am trying to connect from my local machine.

I am not sure what I should use for the hostname in that case -- I tried www.mysitename.com as the host but that didn't work. I also tried the IP address, but that didn't work either. I asked my host's support team, but haven't heard back from them yet. It's a shared hosting service. Any ideas on what the hostname should be?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved