mysql-connector-java-5.1.30 compile error (no replies)
Hi all, You have already described the steps to get a successfull build, nevertheless the documentation was updated very recently with all details. http://happyramadammubarakquotes2014.com/
View ArticleMultiple master hosts in JDBC connection string (1 reply)
Hi there, My problem is the following: I need to set multiple hosts in JDBC connection string, like jdbc:mysql://192.168.0.1,192.168.0.2/mydb, but every one of them should be a master, not a slave,...
View ArticleBehavior Change (no replies)
Dear all, We are currently migrating an internal solution from a UNIX / mysql 5.0.67 server to a RedHat / mysql 5.6.16 server. The solution consists of: -MySQL DB. -Web site manager / web interface...
View ArticleSql and java (2 replies)
Hi guys i need some help i have trying to modify the following dbquery to get id public static ArrayList<Expenses> expensesByCategory(String searchPhrase){ // declare local variables...
View ArticleError when performing heavy queries (pentaho) (no replies)
Hi. When I perform hard queries in pentaho, the following occurs: < 60 sec: mysql executes the query, pentaho displays query execution after 60 sec: mysql executes the query, pentaho does not...
View ArticleUrgent J Connector URL Syntax for MySQL ignore-spaces Option (no replies)
Hi I need help i was trying to connect to MySQL Server Using JDBC Driver I am using Powerbuilder 12.5 to connect to Database server but PowerBuilder application required the option ignore-spaces....
View ArticleWhich one is better ODBC / JDBC ? (no replies)
Hi i set up my applicaiton to connect using ODBC & JDBC both able to connect to MySQL local database, and now next step is to connect to web database. In my application i have to build some report...
View Articlecom.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link...
Hello everyone. I've a problem with the connection to the MySQL database too. I think there is a problem with the url or something else. DriverManager.getConnection(url, username, password); throws an...
View ArticleConnecting to Remote DB using JDBC, Connection Time Out (no replies)
I am trying to just edit my mysql database from a remote ip address(my house). The server is at a friends house and we are just doing some development. I am fairly new to mysql and networking but I...
View ArticleMysql and Hibernate (no replies)
I disabled autocommit in Mysql and enabled it in Hibernate. It is working fine in Local machine and one environment but logging integrity constraint violation in other Environment. Can someone please...
View ArticleMySQLQueryInterruptedException while no one killed the query (1 reply)
We started seeing exceptions MySQLQueryInterruptedException while there is no other thread that would killed executing query. The versions: MySQL Innodb 5.5, JDBC 5.1.25 (from Maven repo) The...
View ArticleI updated to Foundation 5.4.5 (no replies)
I'm having this problem too, ever since I updated to Foundation 5.4.5 (and now the same in 5.4.6). Here's what I did to test it just now: foundation new ftest cd ftest mkdir stylesheets bundle bundle...
View ArticlesetTimestamp Time Zone Ignored in ServerPreparedStatement (no replies)
As mentioned in http://bugs.mysql.com/bug.php?id=15604 there have been several bugs concerning time zones which should be fixed using the new code by setting useLegacyDatetimeCode=false. One of the...
View ArticleReplicationDriver [Possible Bug?] Internal MySQLConnection object always...
Greetings , We use MySQL master-slave setup to store data used in our REST APIs. We are planing to direct to master db-host or to slave db-host depend the a REST request parameter. To achieve this ,...
View ArticleSocketfactory implementation example (4 replies)
Hi everybody, is there somewhere a code example how to implement socketfactory as a class in java? What I need is information on how to use connect, beforehandshake and afterhandshake methods with...
View ArticleNonRegisteringDriver illegally accessing "protected" member of class...
Hello, I use MySQL Connector/J 5.1.33 and my setup is Websphere 8.5.5.0 and mysql on Windows 7 test machine (localhost). Inside websphere, I set the property url to "jdbc:mysql://localhost:3306/test"...
View ArticleSha256 Athentication Plugin (3 replies)
Hello Everybody, i have issues using the sha256 authentication plugin together with the latest mysql-Jdbcconnector in my android app. After implementing a class which implements the authentication...
View ArticleStack Overflow Questions Tags Users Badges Unanswered Ask Question Getting...
Im getting an image from server as InputStream and then saving it to mySQL database. It works when I use `Thread.sleep(5000);`. But if I dont use it no picture is saved to the DB or only one picture...
View ArticleWhat is the longevity of a "SET SESSION" statement? (1 reply)
We noticed that some of the queries we were running in our spring/java environment were coming back with truncated text after 1024 characters. The problem was group_concat_max_len was set too small. I...
View Articlehow to set the properties of jdbc using bind variables to reduce for DB...
Hi, how to set the properties of jdbc using bind variables to improve for DB performance? I use bind variables in database. Can I set the properties of jdbc for the bind variables to improve DB...
View Article