jdbc connection pool problem, help, thanks!

2008-02-24 Thread raybristol
to me, any recommendations are much appericated! PS: I posted this question on Java section but no replys :( Ray -- View this message in context: http://www.nabble.com/jdbc-connection-pool-problem%2C-help%2C-thanks%21-tp15673813p15673813.html Sent from the MySQL - General mailing list archi

Re: Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool)

2006-07-19 Thread Kevin Burton
There was a thread before about this... this is much better than connector J's load balancing. You can take machines out of production, add thhem back in, it's MySQL slave aware, etc On 7/19/06, Christopher G. Stach II <[EMAIL PROTECTED]> wrote: Kevin Burton wrote: > Hey Gang. > > I wanted to

Re: Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool)

2006-07-19 Thread Christopher G. Stach II
Kevin Burton wrote: > Hey Gang. > > I wanted to get this out on the list and facilitate some feedback. > > http://www.feedblog.org/2006/07/announce_lbpool.html > What does this have over MySQL Connector/J's load balancing? -- Christopher G. Stach II -- MySQL General Mailing List For list ar

Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool)

2006-07-18 Thread Kevin Burton
Hey Gang. I wanted to get this out on the list and facilitate some feedback. http://www.feedblog.org/2006/07/announce_lbpool.html I CC'd both lists because this might be of interest to the larger MySQL community as the techniques I used here could be implemented in other languages. ==

error in JDBC Connection(Sorry there was TYPO ERROR in my previous mail)

2006-06-03 Thread VenuGopal Papasani
Hi all, I have got a problem with the jdbc connection while connecting to Mysql.I have written an XML file.The following is the code for giving the database connection com.mysql.jdbc.Driver<\driver> jdbc:mysql:\\localhost\test<\location>

Problem with JDBC Connection

2006-06-03 Thread VenuGopal Papasani
Hi all, I have got a problem with the jdbc connection while connecting to Mysql.I have written an XML file.The following is the code for giving the database connection com.mysql.jdbc.Driver<\driver> jdbc:mysql:\\localhost\\test<\location>

Re: Mysql and JDBC connection time out.

2005-11-02 Thread Paul DuBois
At 14:57 -0400 11/2/05, Xiaobo Chen wrote: I already turned off the firewall on the XP machine, but it doesn't work either. I am doubting that in the database on the other Solaris machine, it doesn't allow the connection from the XP machine. I am doubting this way because other application on oth

Re: Mysql and JDBC connection time out.

2005-11-02 Thread Hassan Schroeder
Xiaobo Chen wrote: > I can not use 'telnet aaa.bbb.ca 3306' on XP machine, it will give error > like this: > > Could not open connection to the host, on port 3306. Connection failed. > > But if I try on other Solaris machines ,it will say something like this: > > Trying (IP address) > Connected

Re: Mysql and JDBC connection time out.

2005-11-02 Thread Xiaobo Chen
I can not use 'telnet aaa.bbb.ca 3306' on XP machine, it will give error like this: Could not open connection to the host, on port 3306. Connection failed. But if I try on other Solaris machines ,it will say something like this: Trying (IP address) Connected to aaa.bbb.ca. Escape character is '^

Re: Mysql and JDBC connection time out.

2005-11-02 Thread Hassan Schroeder
Xiaobo Chen wrote: > I already turned off the firewall on the XP machine, but it doesn't work > either. I am doubting that in the database on the other Solaris machine, > it doesn't allow the connection from the XP machine. I am doubting this > way because other application on other Solaris machine

Re: Mysql and JDBC connection time out.

2005-11-02 Thread Xiaobo Chen
I already turned off the firewall on the XP machine, but it doesn't work either. I am doubting that in the database on the other Solaris machine, it doesn't allow the connection from the XP machine. I am doubting this way because other application on other Solaris machine can conenction to the mysq

Re: Mysql and JDBC connection time out.

2005-11-02 Thread Hassan Schroeder
Xiaobo Chen wrote: > then I tried 'telnet': > > telnet aaa.bbb.ca or telnet aaa.bbb.ca:3306 > > both case, it said: Could not connected to the host , on port 23: connect > failed. Your second example is invalid -- it should be `aaa.bbb.ca 3306` -- so it's not surprising that didn't work :-) B

Mysql and JDBC connection time out.

2005-11-02 Thread Xiaobo Chen
Hi, all. First, I should give some information on the setting: I have mysql database, say, mydatabase, existing in one machine A which is Solaris; I am trying to connect this database from another XP machine. The code snippet in the XP machine looks like this: String driver = "com.mysql.jdbc.D

Re: Java/JDBC - Connection refused on Linux - solved

2003-06-17 Thread Jeff Weeks
I noticed from the example given by William Mussatto that I needed to include the Port Number on the URL. Yes, I am a Linux idiotbut hopefully learning as I go. Thank you, everyone. This list is awesome!! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To u

Re: Java/JDBC - Connection refused on Linux

2003-06-17 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Weeks wrote: > I can't access MySQL using Java on Linux! It's killing my project. I > can access that very MySQL from PHP just fine. I have the same > database running on Windows so I can develop what I need to. Just can't > run anything fo

Re: Java/JDBC - Connection refused on Linux

2003-06-17 Thread William R. Mussatto
> I can't access MySQL using Java on Linux! It's killing my project. I > can access that very MySQL from PHP just fine. I have the same > database running on Windows so I can develop what I need to. Just > can't run anything for our users!!! > > I don't think it's the firewall because I get t

Re: Java/JDBC - Connection refused on Linux

2003-06-17 Thread Madscientist
At 05:59 PM 6/17/2003 -0700, Jeff Weeks wrote: I can't access MySQL using Java on Linux! It's killing my project. I can access that very MySQL from PHP just fine. I have the same database running on Windows so I can develop what I need to. Just can't run anything for our users!!! I don't

Java/JDBC - Connection refused on Linux

2003-06-17 Thread Jeff Weeks
I can't access MySQL using Java on Linux! It's killing my project. I can access that very MySQL from PHP just fine. I have the same database running on Windows so I can develop what I need to. Just can't run anything for our users!!! I don't think it's the firewall because I get the same

Re: MySql JDBC connection pooling in Websphere

2003-01-07 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom O'Neil wrote: I have configured WAS Express 5.0 to connect to MySql 4.0, however I am unable to open any connections. I know that the connection to the MySql server works, because if I change any of the connection parameters (port, database name,

MySql JDBC connection pooling in Websphere

2003-01-07 Thread Tom O'Neil
I have configured WAS Express 5.0 to connect to MySql 4.0, however I am unable to open any connections. I know that the connection to the MySql server works, because if I change any of the connection parameters (port, database name, login), the JDBC driver returns the appropriate error message. I h

Re: JDBC Connection Pooling Not Quite Right?

2002-11-09 Thread Mark Matthews
Rick Mann wrote: sql, query ... just to make the filter happy. on 11/8/02 2:30 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: >You are missing something, I am afraid. To quite Sun's Javadoc for the >PooledConnection class Thank you so much for the quick reply. Now I understand why the im

Re: JDBC Connection Pooling Not Quite Right?

2002-11-09 Thread Rick Mann
sql, query ... just to make the filter happy. on 11/8/02 2:30 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > You are missing something, I am afraid. To quite Sun's Javadoc for the > PooledConnection class Thank you so much for the quick reply. Now I understand why the implementation of poo

Re: JDBC Connection Pooling Not Quite Right?

2002-11-08 Thread Alec . Cawley
Hi, Rick, > Hi. I hope this is the right place to discuss this, now that the drivers are > part of the official MySQL stuff. If not, please let me know where I should > post this. Thanks. The Java list - [EMAIL PROTECTED] - would probaby be more appropriate than the general list, but otherwise t

JDBC Connection Pooling Not Quite Right?

2002-11-08 Thread Rick Mann
Hi. I hope this is the right place to discuss this, now that the drivers are part of the official MySQL stuff. If not, please let me know where I should post this. Thanks. I've been using the 2.0.14 version of the drivers, and just recently switched to using the pooled connections supplied by JDBC

Re: JDBC connection to MySQL

2002-05-07 Thread William R. Mussatto
On Tue, 7 May 2002, George Pitcher wrote: > Date: Tue, 7 May 2002 06:15:28 +0100 > From: George Pitcher <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: JDBC connection to MySQL > > Just a guess, but how about an ampe

Re: JDBC connection to MySQL

2002-05-06 Thread George Pitcher
Just a guess, but how about an ampersand? Connection c = DriverManager.getConnection("jdbc:mysql://localhost/dbName?user=username&pas sword=password"); George - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 07,

JDBC connection to MySQL

2002-05-06 Thread Patmua1
Hello, I've been struggling with this for two weeks, I can't seem to find the answer wherever I look whether in the core mysql book or the documentation on what variables, if any go between parameters(user and password) as in: Connection c = DriverManager.getConnection("jdbc:mysql://localhost/d

How to set up JDBC connection pool with Tomcat?

2002-04-02 Thread rick
How do you set up the server.xml and web.xml files to use connection pooling in Tomcat using the org.gjt.mm.mysql.Driver JDLC driver (version mm.mysql-2.0.11)? I have set up and used a simple data source, but I can't get the pooled one working - do I need to set it up differently? Originally, I

Non odbc/jdbc connection

2002-03-11 Thread Walker, Roy
I am looking for different alternatives to getting data into a MySQL database from an unattended command line output (a script) from a remote machine. This is what I have so far: email: Parse the output from the command line and simply email it to the MySQL database server, where a sendmail scri

JDBC Connection Error: Server Config denies access...

2002-02-12 Thread Kim Albee
I am using mySQL 3.23.36 for RH Linux (came with the 7.1 install). I am using mm.mysql-2.0.7-bin.jar JDBC driver. When I attempt to connect, I am getting a Server Configuration denies access... error. When I have gotten this error in the past, it's been because the user wasn't set up with the c

RE: JDBC Connection help

2001-09-05 Thread Brett R. Gordon
sage- From: Silver Fox [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 11:07 AM To: [EMAIL PROTECTED] Subject: JDBC Connection help Hi everyone, I just installed MySQL on my linux box. But when I tried to connect to my own box with jdbc (jdbc:mysql://localhost/red), it gave me

JDBC Connection help

2001-09-05 Thread Silver Fox
Hi everyone, I just installed MySQL on my linux box. But when I tried to connect to my own box with jdbc (jdbc:mysql://localhost/red), it gave me "SQLException: server configuration denies access to data source". I have already added root in the mysql.user and mysql.db, why is this happening

MySQL, WebObjects 5: jdbc connection problems

2001-08-25 Thread Paul Schreiber
ux or OS X. Here's the scoop ... let's try OS X first: * .jar files belong in /Library/Java/Home/lib/ext/ * In EOModeler: URL: jdbc:mysql://localhost/newsie Driver: org.gjt.mm.mysql.Driver * MySQL is up and running, and I created a database "newsie" * EOModeler gives this err

RE: database URL / JDBC connection trouble

2001-08-08 Thread Venu
Hi ! )-Original Message- )From: [EMAIL PROTECTED] )[mailto:[EMAIL PROTECTED]]On Behalf Of Charles Megnin )Sent: Wednesday, August 08, 2001 8:55 AM )To: [EMAIL PROTECTED] )Subject: Re: database URL / JDBC connection trouble ) ) )Mark - )thanks for your input. )I am using RH 6.2 )however

RE: database URL / JDBC connection trouble

2001-08-08 Thread Venu
Hi ! )-Original Message- )From: Mark Matthews [mailto:[EMAIL PROTECTED]] )Sent: Wednesday, August 08, 2001 5:48 AM )To: [EMAIL PROTECTED] )Cc: [EMAIL PROTECTED] )Subject: RE: database URL / JDBC connection trouble ) ) )There is no problem with your URL. The message you are receiving

Re: database URL / JDBC connection trouble

2001-08-08 Thread Charles Mégnin
Mark - thanks for your input. I am using RH 6.2 however charly@theblueplanet[24] cat /etc/hosts 127.0.0.1 localhost.localdomain localhost Besides, I've added 127.0.0.1 explicitely in the db table & tried to connect via that IP address rather than localhost, to no avail. Incidentally, I

RE: database URL / JDBC connection trouble

2001-08-08 Thread Mark Matthews
There is no problem with your URL. The message you are receiving comes from the database. Your network permissions are not setup to allow TCP/IP connections from localhost (or my bet, you're on Redhat which brokenly maps 127.0.0.1 to "localhost.localdomain"). You will need to add grants to allow c

database URL / JDBC connection trouble

2001-08-07 Thread Charles Mégnin
My apologies if I am cross-posting as I am not clear on which is the proper list for gal questions (& I have also posted to [EMAIL PROTECTED]). What is the proper database URL for JDBC connectivity ? I have set String url = "jdbc:mysql://localhost:3306/music"; String user = "charly"; String passw

jdbc connection to mysql in linux

2001-07-17 Thread shane
this is my code: import java.sql.*; import java.util.*; public class Connected { public static void main (String[] args) throws Exception{ Connection con = null; try{ String url = "jdbc:mysql://localhost:3306/mydatabase";

Jdbc connection

2001-05-28 Thread johansenng
Hi, I have used mm.mysql driver for jdbc connection. I've did all the neccessary connection and the java application was able to load the driver, but there was this problem. The java program was actually from the mm.mysql documentation. Problem: SQLException:S

RE: The Syntax to Get JDBC Connection

2001-05-21 Thread Siomara Pantarotto
this.password = newPassword; } public String getPassword() { return password; } } *** >From: "Cal Evans" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >CC: <[EMAIL

RE: The Syntax to Get JDBC Connection

2001-05-20 Thread Cal Evans
If that's an exact quote then you left off the opening quote marks. Cal http://www.calevans.com -Original Message- From: Li Bing [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 4:14 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: The Syntax to Get JDBC Connection

The Syntax to Get JDBC Connection

2001-05-20 Thread Li Bing
Dear All, I use mm.mysql.jdbc to access mysql in Java. To get the connection, the following sentence is writen in my program. But an error occurred. I guess that the syntax is wrong. Could you please give me the correct one. Connection conn = DriverManager.getConnection(jdbc:mysql://localhost/Re

JDBC Connection

2001-05-05 Thread Greg Cardoza
Hello: Could someone help me in giving me the JAVA syntax to connect to a datbase using MySQL. I have mm.msql.jdbc-1.2.c.tar as the jdbc connection. All I need is the detailed code in JAVA to connect to a database in regards to the try block statement. Thanks alot for all your help

how to make a jdbc connection?

2001-04-09 Thread hanan khader
HI Friends ... I wish u help me in this problem ... I have installed the mysql(recommended version) For NT(my platform) and the odbc, and finally I unarchived the mm.mysql.jdbc-1.2c.zip and made all the required configurations . Mysql driver works properly and I build a database using the SQL

how to make a jdbc connection?

2001-04-09 Thread hanan khader
HI Friends ... I wish u help me in this problem ... I have installed the mysql(recommended version) For NT(my platform) and the odbc, and finally I installed the mm.mysql.jdbc-1.2c.zip and made all the required configurations . Mysql driver works properly and I build a database using the SQL C

JDBC CONNECTION PROBLEM

2001-03-15 Thread Madhulika Bahl
Hi I am using Resin1.2.3 engine to run my servlet and mysql database with mysql-jdbc driver to connect my servlet with database but it gives me null pointer exception when I run my servlet 500 servlet exception java.lang.NullPointerException I hope many of you might have face t