Re: Bulk Insertion Performance

2010-12-15 Thread Mark Matthews
On Dec 14, 2010, at 7:21 PM, Feris Thia wrote: > Hi Mark, > > On Wed, Dec 15, 2010 at 8:10 AM, Mark Matthews > wrote: > Feris, > > *How* are you writing, via batch statements with rewriting, or directly, or > via LOAD DATA INFILE? It seems you're off by about a

Re: Bulk Insertion Performance

2010-12-14 Thread Mark Matthews
re you writing, via batch statements with rewriting, or directly, or via LOAD DATA INFILE? It seems you're off by about a factor of 10-20x from what I've seen performance-wise for writes. -Mark -- Mark Matthews Principal Software Developer - MySQL Enterprise Tools Oracle http://

Re: How to use SSL? (SSL is enabled but not used)

2010-08-18 Thread Mark Matthews
be >>> used. >>> You must also specify the --ssl-ca option, and possibly the --ssl-cert and >>> --ssl-key options. >>> ## >> This documentation appears to be wrong. >> Anders > > Excellent logic. > > I have updated bug #3138 with a private comment

Re: mysql proxy in production?

2010-03-11 Thread Mark Matthews
gt; Well thats disappointing. > > sigh > So what are we supposed to use for loadbalancing mysql. > > Thank you for your reply. > > Kind Regards > Brent Clark Brent, Some clients (namely the JDBC driver, and the R-O-R adapter) have load balancing built in. -Mark --

Re: Problem starting connection pooling

2010-01-22 Thread Mark Matthews
tocol.java:583) >at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) >at java.lang.Thread.run(Thread.java:636) > > Also, the MySQL instance I'm connecting to is hosted by dreamhost. I don't > have any control over their networking c

Re: Problem starting connection pooling

2010-01-22 Thread Mark Matthews
ing (most debian-based distributions do this by default), and "mysql" is using unix domain sockets (which Java can't) to speak to mysqld. If that's the case, you'll have to reconfigure mysqld to listen at least on the loopback (127.0.0.1) by removing --skip-networking from m

Re: if there're a tool which can replace mysql-proxy?

2009-03-24 Thread Mark Matthews
better idea if it's going to work for your situation in it's current (and always changing) state, and also to provide input into the direction of the developers. Best regards, -Mark -- Mark Matthews, Architect - Enterprise Tools MySQL @ Sun Microsystems, Inc., http://www.sun.co

MySQL Connector/J 5.1.6 Has Been Released!

2008-03-06 Thread Mark Matthews
verState() and changeUser(), which operate on all connections held by the replication connection. - Connections created with jdbc:mysql:replication:// URLs now force roundRobinLoadBalance=true on the slaves, and round-robin load balancing now uses a "random" choice to more even

MySQL Connector/J 5.0.8 Has Been Released

2007-10-09 Thread Mark Matthews
er now attempts connections to the next "best" (depending on the load balance strategy in use) server, and continues to attempt connecting to the next "best" server every 250 milliseconds until one is found that is up and running or 5 minutes has passed. If the driver giv

MySQL Connector/J 5.1.5 Has Been Released!

2007-10-09 Thread Mark Matthews
ySQL server that was down. The driver now attempts connections to the next "best" (depending on the load balance strategy in use) server, and continues to attempt connecting to the next "best" server every 250 milliseconds until one is found that is up and running or 5 minutes h

MySQL Connector/J 5.1.3 RC is available!

2007-09-10 Thread Mark Matthews
values when "padCharsWithSpace" is set to "true". * Specifying a "validation query" in your connection pool that starts with "/* ping */" _exactly_ will cause the driver to instead send a ping to the server and return a fake result set (much lighter

MySQL Connector/J 5.0.7 Has Been Released

2007-07-19 Thread Mark Matthews
he-middle from asking the client for data that the client is not expecting. Thanks to Jan Kneschke for discovering the exploit and Andrey "Poohie" Hristov, Konstantin Osipov and Sergei Golubchik for discussions about implications and possible fixes. (Bug#29605) Enjoy!

Connector/J 5.1.2 Beta Released

2007-07-02 Thread Mark Matthews
on", which sets useDynamicCharsetInfo to "false" (see previous entry), and sets useLocalSessionState and autoReconnect to "true". * Fixed BUG#28851 - parser in client-side prepared statements silently consumes character following '/' if it'

Connector/J 5.1.1 Alpha Released

2007-06-24 Thread Mark Matthews
ut of MysqlIO (how many bytes the driver expected to read, how many it actually read, say that communications with the server were unexpectedly lost). * Setting "useDynamicCharsetInfo" to "false" now causes driver to use static lookups for collations as well (makes R

MySQL Connector/J 5.0.6 Has Been Released

2007-05-16 Thread Mark Matthews
where calling getGeneratedKeys() on a prepared statement after calling execute() didn't always return the generated keys (executeUpdate() worked fine however). - - Fixed issue where a failed-over connection would let an application call setReadOnly(false), when that call shou

MySQL Connector/J 5.1.0 Alpha has been released

2007-04-12 Thread Mark Matthews
ytes, rather than 16K), and initial packets used during handshake are now sized appropriately as to not require reallocation. * Fixed issue where calling getGeneratedKeys() on a prepared statement after calling execute() didn't always return the generated keys (executeUpdate() worked

MySQL Connector/J 5.0.5 Has Been Released

2007-03-01 Thread Mark Matthews
rom SHOW CREATE TABLE in DatabaseMetaData, ignore exceptions relating to tables being missing (which could happen for cross-reference or imported-key requests, as the list of tables is generated first, then iterated). Regards, -Mark - -

MySQL Connector/J 5.0.4 Has Been Released

2006-10-20 Thread Mark Matthews
ause NullPointerExceptions when it's required to check this property. - Fixed BUG#21814 - time values outside valid range silently wrap. - Fixed bug when calling stored functions, where parameters weren't numbered correctly (first parameter is now the retu

MySQL Connector/J 3.1.14 Has Been Released

2006-10-20 Thread Mark Matthews
14 - time values outside valid range silently wrap. - Fixed bug when calling stored functions, where parameters weren't numbered correctly (first parameter is now the return value, subsequent parameters if specified start at index "2"). - Fixed BUG#21

MySQL Connector/J 5.0.3 Has Been Released

2006-07-27 Thread Mark Matthews
d BUG#19615, PreparedStatement.setObject(int, Object, int) doesn't respect scale of BigDecimals. - Fixed BUG#19282 - ResultSet.wasNull() returns incorrect value when extracting native string from server-side prepared statement generated result set. - Fixed BUG#19568 -

MySQL Connector/J 5.0.2 Beta Has Been Released

2006-07-12 Thread Mark Matthews
scale of BigDecimals. - Fixed BUG#19282 - ResultSet.wasNull() returns incorrect value when extracting native string from server-side prepared statement generated result set. - Fixed BUG#19568 - ResultSet.getSomeNumeric() didn't work for the BIT type. - Fixed BUG

MySQL Connector/J 3.1.13 Has Been Released

2006-05-31 Thread Mark Matthews
ixed BUG#19568 - ResultSet.getSomeNumeric() didn't work for the BIT type. - Fixed BUG#19724 - Updatable result set fails when server is in ANSI sql_mode. - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity www.mysql.com -BEGIN

Re: MySQL JDBC Problem

2006-05-02 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dyego Souza Dantas Leal said the following on 5/2/2006 2:58 PM: > I have a problem using the latest version of Connector/J > > > the DESC of table shows: > > mysql> desc tiposelo; > ++-+--+-+-+

Re: Logging (wrong) passwords by mysqld

2006-03-07 Thread Mark Matthews
Manuel Schmitt (manitu) wrote: Hi, I'am searching for a way to have mysqld log all passwords which clients are using ("trying") while connecting. As to the documentation and to my trials neither the error log nor the general query log contain passwords, only the usernames. I already tried to g

Re: InnoDB and locking

2006-02-10 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Duda wrote: > I guess I don't understand this locking stuff. I have a InnoDB table > that has one thing in it, a counter. All I want to do is have multiple > instances of the code read this counter and increment it. I want to > make sure tha

Re: Connection problem after long idle periods

2006-02-10 Thread Mark Matthews
Michael Lai wrote: David Logan wrote: Michael Lai wrote: I am currently using MySQL 5.0.15 with mysql-connector-java-3.1.11. I can access the database from my JSPs with no problem except for one small issue. After a long delay (usually overnight), when someone first tries to access the da

MySQL Connector/J 5.0.0 Beta Has Been Released

2006-01-03 Thread Mark Matthews
c value (and is thus not complementary to .getObject() on an UNSIGNED LONG type). - - Fixed BUG#11874 - ResultSet.getShort() for UNSIGNED TINYINT returned wrong values. - - Fixed BUG#15676 - lib-nodist directory missing from package breaks out-of-box build - - Fixed BUG#15854 -

Re: Cleaning illegal characters from varchar field

2005-12-21 Thread Mark Matthews
a parameters), the > driver will automatically [behind the scenes] escape the percent sign? > If so, wow! > Thanks; > -nat > Nat, No, it does not escape "%", it only escapes quotes and binary data, just as any other prepared statement implementation from any vendor does

Re: Regarding MysqlConnectionPoolDataSource

2005-12-20 Thread Mark Matthews
ase session as > part of the connection pool recycling? Depends on the connection pool and how it's configured. Generally the logical session is terminated by the container, eventually the connection pool will terminate the physical session if some idle timeout value is reached, or if the physi

Re: LOAD DATA INFILE (url)

2005-12-05 Thread Mark Matthews
a dump file on the remote server runing a script with crontab. i > gzip that file just to make the file transfer faster . the local server > then fetches the file (wget) and gunzips it and then i load the file. > works pretty good. > The JDBC driver, and the "mysqli" interfac

Re: Regarding SET FOREIGN_KEY_CHECKS=0;

2005-11-21 Thread Mark Matthews
automatically. If you can use MysqlConnectionPoolDataSource with JBoss' connection pool, the MySQL JDBC driver will reset connection state when the "logical" connection is closed. If you don't use our ConnectionPoolDataSource, your application is responsible for setting

Re: MySql and AOP?

2005-10-12 Thread Mark Matthews
C driver for MySQL and put the aspects in there ;) JDBC in general doesn't use aspects, but JDBC is just a bunch of interfaces to be implemented by driver vendors. -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com -BEGIN PGP SIGNATURE---

Re: MySql and AOP?

2005-10-12 Thread Mark Matthews
they are related? I wasn´t > aware of this. > > Thanks, Fernando. Fernando, The JDBC driver uses Aspect/J to weave in tracing aspects, if that's what they're referring to. I'm not sure the server uses any technology that could be considered "aspects".

Re: JBoss queries aren't cached by MySQL

2005-10-07 Thread Mark Matthews
ff by adding "useServerPrepStmts=false" to your URL configuration properties for Connector/J 3.1.x, and MySQL should be able to utilize the query cache again. It's planned that in the future the query cache will work with server-side prepared statements, but for now the above is

Re: EOFException with jdbc driver

2005-09-15 Thread Mark Matthews
the server. 2) If the mysql server is on a different machine than your application: 2a) There are no network hardware issues 2b) There isn't a firewall between the server and your application that times-out connections 3) MySQL isn't crashing in between queries (see your mysql serve

Re: user defined exceptions

2005-08-25 Thread Mark Matthews
other poster's example just ends up setting the error variable, _not_ creating a custom error. MySQL does not yet have a RAISERROR implementation, so to create an exception, you usually have to do something that is erroneous, but that has no side effects and then parsing the error message f

Re: Phantom UDP traffic kills performance

2005-08-19 Thread Mark Matthews
ut the NetAPP filesystem generating more UDP traffic, then look for DNS issues. Did your "OS boys" look at the destination for these packets (port # and host), as that would tell you a _lot_ about why they're being sent. -Mark - -- Mark Matthews MySQL AB, Software Development

Re: Transactions in Java - JDBC

2005-08-09 Thread Mark Matthews
java.sun.com/docs/books/tutorial/jdbc/basics/transactions.html -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8D

Re: Stored Procedure, Dates, and Between

2005-08-09 Thread Mark Matthews
And @endDate); Kent, If you prefix things with @, they are session variables. You want something like the following, I believe: Create procedure `mit_logs`.`spUsingDateRange`(begDate datetime, endDate datetime) BEGIN SELECT * FROM mitlog WHERE (mitlog.StartDateTime between begDate And endDa

Re: MySQL and HIPAA Compliance?

2005-08-05 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Matthews wrote: [snip] > For example, besides containing regulations concerning techology for > software that deals with artifacts that fall under HIPPA (but does not > mandate _which_ technology to use), there are regulations about >

Re: MySQL and HIPAA Compliance?

2005-08-05 Thread Mark Matthews
amiliar with this that could provide a reference or a simple > summary. It seems an interesting and important topic that I thought the list > might be interested. Try Health and Human Service's Website http://aspe.hhs.gov/admnsimp/bannertx.htm -Mark - -- Mark Matthews MySQL

Re: Can someone send me a link or two....

2005-07-26 Thread Mark Matthews
[SUSPEND] XID (suspended tx can only be resumed on same physical connection) XA START XID [JOIN|RESUME] XA COMMIT XID [ONE PHASE] You (well, really, your transaction mananger) issue these commands as you would any other SQL query. -Mark - -- Mark Matthews MySQL AB, Software Development Man

Re: Is SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED applicable to MyISAM tables?

2005-07-07 Thread Mark Matthews
x27;ve chosen to configure the server. It can't be avoided. Once again, if you're using version 3.1.x of the driver, you can put "cacheServerConfiguration=true" in your JDBC URL, and the values from this query will be cached, however if you reconfigure your database server, you&

Re: innodb crashes during heavy usage with exceeded memory error

2005-07-06 Thread Mark Matthews
buffers for it, so essentially you're allocating _400_ megs or so _per_ client. (not to mention that many of your web sessions are sending 200 megs of data around your network between your appserver(s) and your database, which is a performance issue as well) -Mark - -- Mark Matthews

MySQL Connector/J 3.1.10 Has Been Released

2005-06-22 Thread Mark Matthews
specified raised an exception in MysqlIO.changeDatabaseTo(). We apologize to those of you that make connections without specifying a database, as this would've caused problems for you :( -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity www.mysq

MySQL Connector/J 3.0.17 Has Been Released

2005-06-22 Thread Mark Matthews
le-byte charsets including 'aliases' Windows-31J, CP934, MS932. - Added support for the "EUC_JP_Solaris" character encoding, which maps to a MySQL encoding of "eucjpms" (backported from 3.1 branch). This only works on servers that support eucjpms, na

MySQL Connector/J 3.1.9 Has Been Released

2005-06-22 Thread Mark Matthews
xed BUG#11259, autoReconnect ping causes exception on connection startup. - Fixed BUG#11360 Connector/J dumping query into SQLException twice - Fixed PreparedStatement.setClob() not accepting null as a parameter. - Fixed BUG#11411 - Production package doesn

Re: Wrf files: how can I read them?

2005-06-17 Thread Mark Matthews
ut in place (like writing seminars in flash and rolling out our own call-in numbers, remember we're a database company, not a multimedia production house), why not recommend it? Regards, -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com -

Re: Design of a Client-side MySQL Java Load Balancer

2005-06-01 Thread Mark Matthews
some situations, but other users are going to want/need partitioning and load distribution at the _application_ level, which I think is the problem Kevin's talking about. -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com -BEGIN PGP SIGN

Re: 4.1.12 Crashing on Mandrake 10.1

2005-05-19 Thread Mark Matthews
d to how the RPMs were packaged and/or post-processed. Regards, -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http

Re: Different TIMESTAMP columns

2005-05-18 Thread Mark Matthews
nt languages. This may be the case > where what Java calls "timestamp", MySQL calls "datetime". Same data, > different name. Shawn, You are correct. The MySQL JDBC drivers maps MySQL's "DATETIME" to java.sql.Timestamp. Lieven, you might've found this

Re: Can long_query_time be millseconds based?

2005-05-09 Thread Mark Matthews
to C/J 3.0 if you wanted to stick some code in Connection.execSQL(). -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird

Re: JBoss queries aren't cached by MySQL

2005-04-26 Thread Mark Matthews
hed by the same MySQL. > > I'm using JBoss 3.2.5 with JDBC 3.0.16 and MySQL 4.0.23a. > > Any idea why? > > > Regards, > Rafal > > Rafal, Define what you mean by "not cached by MySQL"Do you mean the query cache? If so, what do your query cache

Re: license question

2005-03-31 Thread Mark Matthews
an ISV/OEM that wants to include MySQL in your product, you should contact [EMAIL PROTECTED], because the is dramatically different, but is negotiated per-situation based on the pricing model and revenue you'd be generating with your software. -Mark - -- Mark Matthews MySQL AB, Soft

Re: JDBC driver problem with sql LIMIT

2005-03-30 Thread Mark Matthews
sultSets). If the driver is reading 100's of megabytes of rows, it's because the server is sending them. What happens if you run the _exact_ same query in the MySQL commandline client? -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.

Re: the new Connector J

2005-03-09 Thread Mark Matthews
, Maybe you missed this section in the manual? http://dev.mysql.com/doc/connector/j/en/cj-upgrading-3-0-to-3-1.html -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com MySQL User Conference (Santa Clara CA, 18-21 April 2005) Early registration unti

Re: driver question

2005-03-07 Thread Mark Matthews
ME NULL ) TYPE=InnoDB; And then in your INSERT statement, use NOW() for your create_date. -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Connectivity www.mysql.com MySQL User Conference (Santa Clara CA, 18-21 April 2005) Early registration until February 28: http://www.mysqluc.com/

Re: Problem with SUM and DECIMAL field

2005-02-24 Thread Mark Matthews
-+ > | AMFTPF | > ++ > | 15.00 | > ++ > > 1 row in set (0,01 sec) Julien, I went ahead and reported this as a bug, you can track it via http://bugs.mysql.com/bug.php?id=8794 (You might want to comment on it, that way you will get e-mails as its

Re: Problem with SUM and DECIMAL field

2005-02-21 Thread Mark Matthews
x27;t actually have configurable locale, and doesn't expose this information in any status variable, you will have to set your client to the same locale as your server to get these numbers to parse, see: http://java.sun.com/j2se/1.5.0/docs/guide/intl/locale.doc.html and http://java.sun.com/j

MySQL Connector/J 3.1.7 Has Been Released

2005-02-19 Thread Mark Matthews
will treat BIT(1-8) as the JDBC standard BIT type (which maps to java.lang.Boolean), as the server does not currently send enough information to determine the size of a bitfield when < 9 bits are declared. BIT(>9) will be treated as VARBINARY, and will return byte[] when

Re: disable multiple statements -- how??

2005-02-10 Thread Mark Matthews
ning > under Win2K and clients connect via the JDBC driver. > > Dan, JDBC doesn't enable multi-statements by default, you have to pass it as a configuration parameter. -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity www.mysql.com MySQL Us

Re: Connection latency reduction attempt for load balancing mysql slaves.

2005-01-29 Thread Mark Matthews
ys create a new connection. The only other obvious thing I can think of since you're using short-lived connections is to make sure you've not running reverse-DNS lookups inside the MySQL server (--skip-name-resolve), although that's usually one of the first things a really high-volume in

Re: allowMultQueries for Connector-J breaks replication from master.

2005-01-18 Thread Mark Matthews
e the feature, so you should've gotten a 'syntax error' when you tried it ;) -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity Office: +1 408 213 6557 www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG

MySQL Connector/J 3.2.0 Alpha Has Been Released

2005-01-11 Thread Mark Matthews
his feature to be enabled. - - Refactoring of where logic for prepared statement, server-prepared statement lives. - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - h

MySQL Connector/J 3.1.6 Has Been Released

2005-01-11 Thread Mark Matthews
7026 - DBMD.getProcedures() doesn't respect catalog parameter. - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbir

Re: JDBC driver support

2005-01-11 Thread Mark Matthews
er including the newer, more secure authentication scheme. -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity Office: +1 408 213 6557 www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - ht

Re: Connecting MySQL to OpenOffice

2005-01-03 Thread Mark Matthews
d server-side prepared statements. While Connector/J version 3.0 will connect to MySQL server, version 4.1 or newer, and implements Unicode characters and the new authorization mechanism, Connector/J 3.0 will not be updated to support new features in current and future server versions."

Re: Definition of password hashing algorithm in 4.1.7

2004-12-15 Thread Mark Matthews
27;Monty' code mentioned in Util.java? > > Ta, > Mike, MySQL-4.1.7 uses SHA-1. The code you're looking at is for MySQL-4.0 and older. See MysqlIO.secureAuth411(), which also happens to have the entire algorithm in a comment block ;) -Mark - -- Mark Matthews MySQ

Re: help me pls

2004-12-08 Thread Mark Matthews
DBC driver. Try upgrading to something more recent, like 3.0.16 at http://dev.mysql.com/downloads/connector/j/3.0.html and see if the problem goes away. (This is especially true if you are trying to connect to MySQL 4.1 or newer). -Mark - -- Mark Matthews MySQL AB, Software Development Manager

Re: MySQL 4.1.7 Network slowdown

2004-12-07 Thread Mark Matthews
the slowdown with the 3.0.15 driver so I upgraded to the > 3.0.16 driver and have the same problem. > > Any insight? Frank, What character set are you using in the JDBC driver? Does it happen to be utf-8? -Mark - -- Mark Matthews MySQL AB, Software Development Manager - C

Re: Poor performance for SELECT from 50.000 records - MySQL PERFORMANCE TEST

2004-11-25 Thread Mark Matthews
D_ROWS() is scoped by _connection_, are you sure you don't do anything with the connection between issuing the two queries (for example, calling commit(), or using the connection via a pool, and not having the same connection twice in a row?) -Mark - -- Mark Matthews MySQL AB, So

Re: Replication problems - packet sizes and more

2004-11-24 Thread Mark Matthews
1.x from http://downloads.mysql.com/snapshots.php ... It has a change to it where it will use the smaller of 1MB or max_allowed_packet for LOAD DATA LOCAL INFILE operations (this still works, it's just not the 'normal' way the client library works). -Mark - -- Mark Matthews

MySQL Connector/J 3.0.16 Has Been Released

2004-11-23 Thread Mark Matthews
r version >= 4.1.1. - Fixed regression where useUnbufferedInput was defaulting to 'false'. - Fixed BUG#6231, ResultSet.getTimestamp() on a column with TIME in it fails. - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity Office: +1 70

Re: Ok now connector/J doesn't work.

2004-11-22 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William R. Mussatto wrote: > Mark Matthews said: > >>-BEGIN PGP SIGNED MESSAGE- >>Hash: SHA1 >> >>William R. Mussatto wrote: >> >> >>>>Tried it and now I get connection timed out aft

Re: Ok now connector/J doesn't work.

2004-11-22 Thread Mark Matthews
xReconnects + " times. Giving up.", SQLError.SQL_STATE_UNABLE_TO_CONNECT_TO_DATASOURCE); ) That 'underlying exception' bit will be important for anyone who is trying to figure out why you're having problems! -Mark - -- Mark Matthews

Re: Ok now connector/J doesn't work.

2004-11-22 Thread Mark Matthews
working' (check /etc/mysql/my.cnf or /etc/my.cnf, debian often ships their binaries with a my.cnf with --skip-networking in it). -Mark - -- Mark Matthews MySQL AB, Software Development Manager - Client Connectivity Office: +1 708 332 0507 www.mysql.com -BEGIN PGP SIGNATURE

Re: What changed in 4.1.7 to break DBD::Mysql

2004-11-15 Thread Mark Matthews
en released yet as a binary by the DBD::MySQL maintainer (DBD::MySQL version 2.9015) > Thanks that worked, now to see what happends when I try w/connector/J As long as you're using a recent version of Connector/J (3.0.15 or 3.1.4), it'll work fine. Regards, -M

Re: Java.lang.outOfMemoryError on large ResultSet

2004-10-20 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John McCaskey wrote: | The problem is not the memory on the database server, but on the client | running the JDBC connection. Seems that when you retrieve the result it | is trying to store everything in memory at once. | | Here is some info from the m

Re: Retrieving field characteristics

2004-09-30 Thread Mark Matthews
ava can >>actually see and what is hidden. But I do know that it can see the >>descriptions of the columns. >> >>I had assumed that Mark Matthews, the guy who develops the JDBC drivers, had >>persuaded the other MySQL developers that the JDBC drivers *had* to be able >&g

Re: ResultSet NotUpdatabelProblem

2004-09-30 Thread Mark Matthews
se at http://bugs.mysql.com/ ? This issue would get the proper attention it needs if you use that 'channel'. Thanks! -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com MySQL Guide to Lower TCO ht

MySQL Connector/J 3.1.4 BETA Has Been Released

2004-09-03 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, MySQL Connector/J 3.1.4, a new version of the Type-IV all-Java JDBC driver for MySQL has been released. Version 3.1.4 is the second (and last planned before GAMMA) BETA release of the 3.1 series that is suitable for use with either MySQL-4.1 or M

MySQL Connector/J 3.0.15 Has Been Released

2004-09-03 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, MySQL Connector/J 3.0.15, a new version of the Type-IV all-Java JDBC driver for MySQL has been released. Version 3.0.15 is a bugfix release for the stable tree that is suitable for use with any MySQL version including MySQL-4.1 or MySQL-5.0. It

Re: Cannot be null problem

2004-08-15 Thread Mark Matthews
null. | What is the _full_ stacktrace here? This doesn't look like it's coming from the JDBC driver (we don't have a message like this that I can see). -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.

Re: infos over the internal meta-data for mysql-databases

2004-08-09 Thread Mark Matthews
. -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com MySQL Guide to Lower TCO http://www.mysql.com/it-resources/white-papers/tco.php -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (MingW32) Comment: U

Re: Default username and pw for MySQL Connector/J

2004-08-04 Thread Mark Matthews
> Hi everyone, > > Is there a standard way to specify a default user name and password for > the java driver? For example, will it recognize .my.cnf like most mysql > clinets do? > > Thanks, > > Sergei > Sergei, No there is not. It must be passed in on the command line. Of course your application

Re: I can not figure out this J Connector problem - a bug???

2004-08-04 Thread Mark Matthews
> Hi, > > I have following code to insert a row into a table - schema follows: > : > PreparedStatement insertData = targetConnection.prepareStatement("insert > into CompanyParticipationLevel > (siteId,nodeId,companyId,editionId,participation > LevelId,participationText,participationLogo) values

Re: Lucene with MYSQL

2004-07-29 Thread Mark Matthews
ld be pretty straightforward to automatically update your Lucene index and query it inside MySQL queries: http://freshmeat.net/projects/judf/?topic_id=66 -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.co

Re: why use MySql instead of Firebird or SQL Server express? (long)

2004-07-26 Thread Mark Matthews
rdSQL. [snip] Sorry, just fell into 'vernacular', mostly because their website is 'www.firebirdsql.org' :p -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com MySQL Guide to Lower TCO http

Re: why use MySql instead of Firebird or SQL Server express?

2004-07-26 Thread Mark Matthews
. -Mark - -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] | - | This mail sent through IMP: http://horde.org/imp/ - -- Mr. Mark Matthews MySQL AB, Soft

Re: why use MySql instead of Firebird or SQL Server express?

2004-07-26 Thread Mark Matthews
. as MySQL AB does with the MySQL product line. You are also much more likely to find people and third-party products that know, understand and work with MySQL than those that can work with FirebirdSQL out there in the marketplace. Regards, -Mark - -- Mr. Mark Matthews MySQL AB, Software Dev

MySQL Connector/J 3.1.3 BETA Has Been Released

2004-07-08 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, MySQL Connector/J 3.1.3, a new version of the Type-IV all-Java JDBC driver for MySQL has been released. Version 3.1.3 is the first BETA release of the 3.1 series that is suitable for use with either MySQL-4.1 or MySQL-5.0 (and is required when using

Re: Error in JDBC retrieval of mediumint column (mysql4.1.2b-alpha-win and java-3.1.2-alpha driver)

2004-06-28 Thread Mark Matthews
e, you could turn off server-side prepared statements with 'useServerPrepStmts=false' in your URL). Sorry for any hassle this has caused. -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com MySQ

Re: R: connectorJ & huge table problem

2004-06-22 Thread Mark Matthews
;m not sure the problem is on the client... Leonardo, Earlier you said that a statement without a parameter ('?') works, but one with a parameter doesn't. In both cases, are you still using a PreparedStatement? -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manag

Re: connectorJ & huge table problem

2004-06-22 Thread Mark Matthews
reating the PreparedStatement each time gives me > the error > above when I call ResultSet rs = ps1.executeQuery(). > > I'm using connectorJ 3.1.2, mysql 4.1.2 What happens if you use a nightly snapshot of Connector/J from http://downloads.mysql.com/snapshots.php? -

Re: Why can't I make a connection?

2004-06-17 Thread Mark Matthews
your friend here): http://dev.mysql.com/doc/connector/j/en/index.html#id2800874 -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com MySQL Guide to Lower TCO http://www.mysql.com/it-resources/white-papers/tco.php --

Re: Why can't I make a connection?

2004-06-16 Thread Mark Matthews
ould know where to go from there, but I am >> not sure that I am telling my app where to go to find >> the drivers. >> > I think you're probably right. I've always found that first programs were > extremely crucial for developing the confidence that it takes to pro

MySQL Connector/J 3.1.2 ALPHA Has Been Released

2004-06-08 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, MySQL Connector/J 3.1.2, a new version of the Type-IV all-Java JDBC driver for MySQL has been released. Version 3.1.2 is a new feature release for the ALPHA tree that is suitable for use with either MySQL-4.1 or MySQL-5.0 (and is required when us

Re: Idea to speed up multiple jdbc connections?

2004-06-07 Thread Mark Matthews
erializing his four connections, or he might not be actually producing enough load to actually be able to measure any difference between his two approaches. If he could post his DDL, the relative size(s) of his data set(s) and the queries, that would be somewhere to start. -Mark - -- Mr. Mark Matthews

Re: Unicode characters become question marks

2004-06-02 Thread Mark Matthews
n. This facilitates having a common URL, but the ability to test cases when various properties (characterEncoding, autoReconnect, etc) affect how the driver behaves. -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.c

Re: Unicode characters become question marks

2004-06-02 Thread Mark Matthews
d from database as (int)chars: "); for (int i = 0; i < utf8String.length(); i++) { System.out.println(Integer.toHexString((int)utf8String.charAt(i))); } } - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 7

  1   2   3   4   5   >