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 Complete Forum Thread with Replies
Related Forum Messages:
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 !
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 !
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 !
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 !
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 !
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 !
URGENT: Error 1316 On Install Of MySQL Connector/ODBC Driver 3.51
I have my Vice President's laptop and trying to install the ODBC drivers for reporting that he needs.. and am facing a time crunch. I'm getting the following error, which I've never run into before. I thought the setup file was corrupt, so I re-downloaded her from another mirror, but I get the same error. ERROR 1316. A network error occurred while attempting to read from the file C:DOCUME~1cbockLOCALS~1Tempmysql-connect or -odbc-3.51.12-win32.msi
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 !
[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 Driver
i am using Access 2003 connecting to mysql 4. and newest odbc driver, and i set a checkbox form control bound to a unsigned integer field in my database. if its intially set to 0, or 1. it will be checked in my access form. if i uncheck it, it will update my mysql database accordingly to 0. but if i check an unchcked box, it will not let me do it. it seems to send -1 to the field whoever at microsft made (-1 == yes) should die lol. anyone know a way to make access recognize it, or fix odbc driver so it knows if microsoft uses the driver to convert -1 to 0? my best solution is make a trigger on update, and if that new value is -1 set it to , hoping it wont spit back error back to Access for the inital -1 being wrong. any other ideas? wish i knew what event to override to do my own insertion. if checked, UPDATE with 1, if unchcked, UPDATE with 0.
View Replies !
ODBC Driver Setup
I have setup an ODBC driver for my MySQL database and use a 3rd party program to connect to it. Everytime the software connects, the ODBC driver setup screen pops up. I have to click OK on it to continue. I set the parameter "Dont prompt on connect" in the options but this has not solved the issue. The system setup is Win2K SP2, MySQL 4.0.15, MySQL ODBC driver 3.51.
View Replies !
ODBC Driver Version 03.51.08
I just installed the last version of the MySQL ODBC driver, version 03.51.08 A bug in the previous version (Default values not returned by the function SQLGetColumns() was corrected and works properly now. However, the following problem still exists: A call to the function SQGetInfo() with SQL_ALTER_TABLE does not return the bitmask SQL_AT_ADD_COLUMN_DEFAULT set, although MySQL does allow default values in ADD COLUMN. The equivalent bitmask for a call with SQL_CREATE_TABLE does return the bit set correctly.
View Replies !
ODBC Driver Problem
I was successfully loading a table from ACCESS up to my host MySQL using the 3.51 ODBC driver. Then I upgraded my Windows 2000 sp3 to sp4 (and I think Microsoft updated Office at that time as well along with doing some security fixes.) Now Windows and ACCESS work, but I when transferrirng I get: "ODBC - call failed [MySQL][OBDC 3.51 Driver] User cancelled (#0)" or "Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience." Any clue as to what's calling this? I though about re-installing Access, but it looks like you have to re-install the whole Office if I do. I tried a repair on Access and also re-installed the dirver. No change.
View Replies !
Why Is Text Driver Access/Excel (DAO) Is Slow?
I'm using the Access/Excel (DAO) driver to connect to (*.csv) files, but every time I change the location of the file, it takes around 30 seconds before the change is made... Any idea about this? Could it be because of the Access/Excel (DAO) driver? If i'm using (*.csv) files with this driver, is there a conversion that could take that long?
View Replies !
ODBC Driver Setup - Don't Prompt On Connect
I have setup an ODBC driver for my MySQL database and use a 3rd party program to connect to it. Everytime the software connects, the ODBC driver setup screen pops up. I have to click OK on it to continue. I set the parameter "Dont prompt on connect" in the options but this has not solved the issue. The system setup is Win2K SP2, MySQL 4.0.15, MySQL ODBC driver 3.51.
View Replies !
ODBC Driver Does Not Support The Requested Properties
I'm trying to log data to a certain schema on MySQL 5 server via DSN. MySQL connector/ODBC driver version is 3.51., running in Win XP. *Sometimes* I receive the following error: --- An error occurred calling 'LogResults' in 'DBLog' of 'DBLog 1.0 Type Library' An error occurred executing a statement. Schema: My Recordset. Statement: My_Table. ODBC driver does not support the requested properties. Description: ODBC driver does not support the requested properties. Number: -2147217887 NativeError: 0 SQLState: Reported by: Microsoft OLE DB Provider for ODBC Drivers Source: DBLog --- The worst thing is that sometimes everything seem to be ok but no data is logged to database! This case is very confusing, the logging has been successfull before and I've not been able to trace this. I've checked the basics (SQL syntax, schema priviledges, ...).
View Replies !
Slow Performance :: Navicat To Import Tables From An ODBC Connection
have been using Navicat to import tables from an ODBC connection I have. The import goes extremely fast but once the data is locally stored and I try to manipulate it by joining tables, the program goes slower and sometimes even crashes it. If the same data is however imported into a table in MS Access, and a query is created it runs fine. I would like to know if there is a way to improve the performance of my MySQL database as the reason I was using it is because of its scalability. I was wondering if there was something I was doing wrong or could do better. The Server the data is downloaded to right now is has the following specs: Windows XP Pro Intel Core 2 CPU 2.13 Ghz 2 GB RAM
View Replies !
Org.gjt.mm.mysql.Driver
I'm using some 3rd-party JSP tag libraries and Java classes in my JSP, and get the following error when I run it: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver Does any one know where this class sits, so that I can include it in the CLASSPATH.
View Replies !
MySql Driver?
I would like to know what kind of problem could trigger this error: Quote: Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The mysql driver is not currently installed' in C:wampwww estlibraryendDbAdapterPdoAbstract.php:79 I am using the Zend Framework and I am simply trying to insert data in a table. How could I install a mysql driver? phpmyadmin works fine.
View Replies !
Mac OS X: How Do I Identify A MySQL DB Driver?
My environment: Mac OS X (10.3.8) "Panther" This is a very simple question from a neophyte slamming into brick walls. I'm trying to connect Qt C++ (and XCode/Obj-C) to mysql database. I'm assuming that the necessary DB driver comes with the standard mysql instillation (like via DarwinPorts on the Mac OS X (10.3.8). I'm also assuming that the driver is a dynamic library. 1) How do I know that I have it? 2) What does it look like? I'm guessing 'libmysql3.dynlib' or something like this. 3) Is there an env variable to assign its path (for Darwin 7.8 --- BSD Unix)? 4) Or need I just hard link it during the make.
View Replies !
Could Not Load MySQL Driver! Compile Php --with-mysql Or Install The Mysql.so Module.
I am trying to install Media Wiki 1.5.2 on Windows XP and I have already installed apache_2.0.55-win32-x86-no_ssl ,mysql-5.0.15-win32 and php-5.1.1-Win32 . When I am trying to install Media Wiki 1.5.2 I receive the following message : Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=mysql.so in your php.ini in C:Program FilesApache GroupApache2htdocsmediawikimediawiki-1.5.2install-utils.inc on line 17 Could not load MySQL driver! Please compile php --with-mysql or install the mysql.so module.
View Replies !
Mysql Jdbc Driver Problem
I am trying to connect to mysql database using connector/J jdbc driver this is my code import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.*; class JdbcTest1 { public static void main(String[] args) { // Connection conn = null; // Statement st = null; //R........................
View Replies !
File System Driver => Mysql
Has anyone ever heard of a Windows file system driver that can connect to MySQL? This would be useful to mount a table in the database as a drive, and then treat the records as if they were files. Then one could open and edit the 'files' with a text editor, image viewer, etc. Of course, the table would have to follow certain semantics, like having a file name field, time stamp, data field, etc.
View Replies !
ASP - MySQL Driver Connection Failure
I've installed MySQL, and set up a database (TestDB). I'm using the following ASP code to connect to it: set objConnVar=Server.CreateObject("ADODB.Connection") set objRSVar=Server.CreateObject("ADODB.RecordSet") objConnTempVar="DRIVER={MySQL};" objConnTempVar=objConnTempVar & "SERVER=localhost;" objConnTempVar=objConnTempVar & "DATABASE=TestDB;" objConnTempVar=objConnTempVar & "UID=root;" (I know I shouldn't use root, but it's for testing purposes) objConnTempVar=objConnTempVar & "PASSWORD=12345;" objConnVar.Open objConnTempVar When I attempt to access the database, I get the following error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /Routines/DatabaseRoutines.asp, line 94 I don't know how to determine the name of my driver. Most examples use either "{MySQL}" or "{MySQL ODBC 3.51 Driver}", neither of which work for me. I prefer to use the ADO connection, rather than DSN, as I understand ADO is faster. I did install the MySQL Connector, and verified it's connection in the ODBC panel.
View Replies !
Using MySQL 3.23 Driver With MySQL 4 (and Borland DbExpress Drivers)
I've been playing with the Borland dbExpress Drivers, and it would appear that Borland only have beta drivers for MySQL 4.x.x However it would also appear to be possible to access a MySQL v 4.x.x database using the 3.23 client libraries (i.e just get libmysql.dll from 3.23) can here see any problems in doing this? The only ones I can see is we'll loose some features such as the ability to use encrypted SSL connections.
View Replies !
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 !
Slow MySQL
mySQL has been running very slowly and I am getting errors. First I did 2 things I raised the ServerLimit number (apache) to allow for more connections, I also raised the max conncetions in my.cnf. I do not know if this took effect? That should have worked. But basically in phpmyadmin i get this error frequently. I am getting more traffic so I think it is that. MySQL said: Documentation #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
View Replies !
Why Does MySQL So Slow
I just changed to use MySQL few days ago but it was a bad idea. My server now is running very slowly with the database. I'm using Perl5 and DBD::Mysql in my script. The system is Linux9, Apache2. I looked at these mysql pid and saw a lot of activities (about 400) while there are more 100 users online at this moment and lots of running under a the same pid number.
View Replies !
MySQL Slow
I had downloaded a few years back mySQL v3.51 installed but never used it. Now I wanted to convert some B-TREE databases to mySQL and did some testing via ODBC to insert 70,000 records: My results: MS ACCESS: ~60,000 msecs MYSQL v3.51 ~18,000 msecs Impressed with the speed, I went ahead and got the latest MySQL v5.1. Uninstalled the older version, I had nothing there to preserve, so I did a simple new install with MySQL v5.1. I noticed the size of the files and BINEXE increasted by 1,000,000%. Ok, Bulky. Not a problem. I reran the same ODBC test, and now I got: MYSQL v5.1: ~450,000 msecs or 7.5 freaking MINUTES! What the hell happen? Nothing was done. I'm knew to MYSQL. I just installed it with all the defaults. I did choose "developer's machine" for the "optimizer wizard" I can't redistribute MYSQL v3.51 and force it down people's throats! I have to use what they are using already, if already installed. Not even my current system takes 1 minute to add 70,000 records. Why 7.5 minutes? All it is simple inserts/free statements.
View Replies !
MySQL Slow Log
I have the long query time set to 15 yet MySQL is still showing results with a query time of 0 in the slow query log. It says enter time in "seconds" in the MySQL Administrator but did it mean in milliseconds??
View Replies !
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 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 !
JDBC Error - Javax.servlet.ServletException: Com.mysql.jdbc.driver
I get the following error when trying access my MySQL database from a jsp page. I have copied the proper jar into the WEB-INF/lib and the /ext path of my CLASSPATH. Am I misisng something? +++++++++++++++++++++++++++++++++++++++++++++ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: com.mysql.jdbc.driver org.apache.struts.action.RequestProcessor.processException(RequestProcessor.ja va:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcesso r.java:433) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.ClassNotFoundException: com.mysql.jdbc.driver org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1352) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1198) java.lang.ClassLoader.loadClassInternal(Unknown Source) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown Source) com.mullen.cac.struts.action.TestDB.execute(TestDB.java:30) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcesso r.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
View Replies !
MySQL Slow In Windows NT4
I am running the Apache web server, MySQL v4, and PHP on an NT4 server. Apache runs great, but the auction software I am using (Web2035 Auction software written in PHP) is very, very slow. Sometimes it takes 20-30 seconds to bring up an auction page from the items table which has less than 200 records in it. Can anyone can give me some pointers on where to start looking? (I don't know if the bottleneck is with MySQL or PHP or what I might need to look at to enhance the performance of either package.)
View Replies !
Slow Mysql Select *,
I have a sql table with more then 20,000 rows in a table called summary and when I run "select * from summary" it returns a exucutions time of 0.5 seconds in php which is kinda slow if you ask me, now I know that the * type for select isnt the fastest way to fetch data but its the most convenient for me.
View Replies !
MySQL Slow Starting Up
I am using a Windows 2003 Web Edition Server running IIS and MySQL 4.1. I had to restart the server the other day and it took MySQL almost 2 hours to come back up. I was watching it on my task manager and it went up to approximately 60,000k in 10k increments before I was able to access MySQL. My CPU usage was hovering around 3% all this time. Everything else came up on the server just fine. This happens every time I have to restart my server. The reason I have to restart my server most of the time, is because MySQL locks up on me. Is there any settings I can change that would help me here? Any help would be greatly appreciated. One more thing to add. I am using the default my.ini file. We have almost 100 different databases on the server and have around 20000 tables within all of these databases combined. All of these tables are InnoDB tables.
View Replies !
MySQL Running Very Slow
I have the following INSERT SQL, which runs very slow (For 2 full days it had not done anything) on a 2 processor Compaq machine running Suse Linux. Code:
View Replies !
MySQL Is Slow, Trying To Optimize
It just seems that my system is slow, adding records, etc. I tried to optimize it, saw that there was a my-medium.ini file, read that is was for medium sized system. I replaced it with my.ini (yes I did make a backup, thankfully) and restarted mysql. Pretty much it hangs. I tried to connect with QueryBrower, did a Select Count(*) and just froze. I admit that I didn't wait for ever, yes I know I Select Count(*) takes a long time but I gave up after waiting 3x as long as I normal did. Also the logs screen froze in administrator.
View Replies !
Slow Running MySQL?
I'm hoping someone may have an idea what could be causing the slow loading pages of my web-site. I'm not positive, but I'm relatively sure that it's related to a problem with MySQL database. I purchased a program called Sam3 for broadcasting our radio signal over the internet. The software requires the use of MySql in order to set up web pages for our web site. The problem is, that while everything works GREAT (requests can be made from the site, songs can be searched, the history of what we've played shows up) the pages load PAINFULLY slow. Other users of this software have had no such problems so I'm at a loss. I know from testing that the PHP script for the web pages is fine, I have plenty of bandwith both upload and download available on my DSL line, and while the computer running MySQL is behind a router I have tried plugging the DSL line DIRECTLY into the host computer and it makes no difference. For all appearances it seems the problem is that it takes MySQL forever to gather and provide the information needed for these pages. Does anyone have any idea what I should be looking at to solve this problem? I do not know the MySQL program at all, so I get somewhat lost when people start throwing out technical terms, but this has been really frustrating because no one else seems to have the problem and everyone so far has just told me to check the things I've already checked.
View Replies !
|