Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Browsing all 884 articles
Browse latest View live

Packet for query is too large (1 reply)

Hello, I hope you can help me. I´m trying to use the MySQL-Database of my Webspace via Java. To do that I need to connect to the Webspace using a ssh-tunnel, I use JSch to do that an the Connections...

View Article


Creating XA Datasource in JBoss 7.1.1 for MySQL Cluster : Connection Read...

We are configuring the XA datasource in the JBoss 7.1.1 application server for the backend clustered MySQL server (Master-Master configuration). Below are the datasource configuration:...

View Article


Communication Link Faulure (no replies)

we are getting the following problem While executing any query on the database. Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet...

View Article

Integrate sql into exe of java project (1 reply)

I created a java project in which i can use my sql , then i want to create exe when i install my project then automatically my sql also install, so how can i do this?

View Article

I need help for my Master Project (no replies)

Please bid in this project and help me https://www.freelancer.com/projects/System-Admin/MySQL-Cluster-OpenJPA-JBoss-Netbeans.html?hash=5i1sl1f9ZWs1DuYmpflt1EukPODL5%2BBuYbhoV6BBfmA%3D

View Article


Load timezone table with MySQL-MX/J (no replies)

We are using the MySQL-MX/J connector in out JUnit tests so that the execution environment does not have to have a preconfigured database. We have some queries that utilize the CONVERT_TZ function...

View Article

CPU spikes and performance problems with Connector/J 5.1.12 (2 replies)

Hello, The application I am currently working on is seeing some strange problems seemingly around Connector/J version 5.1.12 and some nasty CPU spikes. We've added some logging statements around...

View Article

Date value inserted with special characters (no replies)

In a leaf level table, the value for the created and updated date field stored as 'õ541-06-17 22:93:44'. Based on the observation the value should be '2013-06-17 22:93:44' where the year portion...

View Article


Physical database file (3 replies)

I am trying to develop a windows app for my wife's massage business and have created the schema and tables in mySQL Workbench 6.0. I have a massageDB.mwb file in a directory under 'My Documents'. As...

View Article


Java, jPMdbc & MySQL = Problems with umlauts (for example: ä, ü, ö) (no replies)

Hello, I hope someone can help me. I have a Problem with my Java-Application. I use jPMdbc to access my MYSQL-Database from my Java-Application. It works fine with normal chars, but when I have...

View Article

Connector/J for Win64bit (1 reply)

Hi, I have some webapp running in a 64 bit tomcat, which accesses a 64bit MySql 5.6.xx. Obviously, the system is a 64 bit Windows 2008 server. Some application have weird errors, I haven't found the...

View Article

Password expiration time settings in mysql database (no replies)

Hi, Is there any way to set the password expiration date in mysql database? How to set the no of password attempts parameter? How to lock the account if password attempts reaches failure? Is there any...

View Article

How to reslove Pool error Timeout waiting for idle object (3 replies)

Feb 10, 2014 12:00:35 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger error SEVERE: Exception occurred during processing request: Could not open connection...

View Article


[ XA ] - isSameRM method is it correct? (no replies)

Hi all, I wanted to ask about the isSameRM method implementation in the class MysqlXAConnection. While the javadoc says that this is a method to decide if two resources belong to the same Resource...

View Article

Not able to Connect my site with mysql (no replies)

I am not able to conect my site with mysql database. http://autotechspecs.com/ this is my site. the jsp file is in one of the directory of the site. the jsp file is not fethcing the data and storing...

View Article


Connection string for IPv6 and IPv4 (1 reply)

Hello, Is it possible to use the same connection string like the one bellow to connect to both IPv6 and IPv4 hosts? "jdbc:mysql://address=(protocol=tcp)(host=localhost)(port=3306)(user=test)/db" In...

View Article

how to use sensitive keyword while creating a table in mysql (2 replies)

CREATE TABLE customer(ID int primary key, Name varchar(72) SENSITIVE, Address varchar(120) SENSITIVE); Actual requirement is to mark private columns like name, password with sensitive keyword. while...

View Article


database connectivity issue (no replies)

Hi There, Good Day ! I am new to this and I need your assistance to fix the issue which i am facing now. I have installed mysql in my pc and I have added the same in my ECLIPSE. When i display the...

View Article

Image may be NSFW.
Clik here to view.

How to update data using webpage submit button? (no replies)

Hello My question is how to update data using webpage submit button? In theory , i need to get parameter from field 1("getint") and after button Dispense[2] is clicked database data[3] is decremented...

View Article

Mysql master/slave replication .Connect to master even for read queries? (no...

I use mysql master/slave replication (write to master and reads to slaves) with ReplicationDriver.My connection URL is as follows :...

View Article
Browsing all 884 articles
Browse latest View live