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

MySQL Connector/J loadbalance feature not working when user credentials...

I am using the MySQL Connector/J loadbalance feature with two MySQL databases. The requirement here is to recycle data on each database one by one to achieve zero downtime. So weekly or monthly data...

View Article


Cannot connect jboss to mysql 8 cluster with mysqlrouter (no replies)

I am fairly new to JBOSS and mysql router, so bear with me. We have a working stable install of JBOSS EAP 7.0 on a Windows 2012 R2 server running custom web services software. We have a new instance...

View Article


How to specify property IGNORE_SPACE in URL (no replies)

Hi I am using Powerbuilder as frontend and mysql as backend and trying to connect using JDBC driver. I sucessfully connected to mysql but it gives error and to fix this error I need to specify option...

View Article

useCursorFetch=true impacts getFloat() values. (no replies)

I encountered a strange JDBC case when I use float values with the connection property useCursorFetch. Setting useCursorFetch to true/false makes getFloat() returning different values with different...

View Article

Fractional Seconds Support with Connector/J and MariaDB (no replies)

Hi, Sorry if this is not the right place. I am using Connector/J 8.0.12 to connect to a MariaDB 10.3. We are unable to insert timestamps with fractional seconds into the database into a DateTime(6)...

View Article


MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using...

I can't make the connection between my java application and Mysql 8. I didn't change anything in my java program and the connection worked perfectly with Mysql 5 version. I was using user : "root" and...

View Article

Java 11 modules (no replies)

Are there any plans to issue a version of Connector/J that complies with the Java 11 module system. I would need this to be able to use the Java jlink tool to include Connector/J with my application.

View Article

Inconsistent Data Truncation Errors using v5.1.28 (no replies)

I've got a table with a column defined as VARCHAR(100). I've received 1406 errors on values that are under 100 characters - some 20 characters, others 83 characters. But values with these lengths...

View Article


Problem in connecting to MYSQL (no replies)

I have problem in fixing the String URL for connecting to MYSQL and I need help in the syntax. MYSQL verion : 8.0.12 OS : Windows 10 Here's the error I am receiving : Caused by:...

View Article


Incorrect string value: '\xAC\xED\x00\x05sr...' for column (3 replies)

I got this error which I need help to resovle. java.sql.SQLException: Incorrect string value: '\xAC\xED\x00\x05sr...' for column 'subjectName' at row 1 at...

View Article

Use MySql Update Lock or Java Thread-Safe??? (no replies)

PROBLEM STATEMENT: I have tables that can be read or updated by several different Java apps. *** During updating, my other apps must be able to generate reports from same tables using old data (a...

View Article

How do I set the timezone in MYSQL 8.0.12 or configure the JDBC driver?? (no...

I tried to test out the MYSQL Connection after a failed insertion of code, even though the code is correct cos it was inserted using the same exact method. Last time, I was using a lower MYSQL version...

View Article

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061) (no...

I hope someone can tell me how to resolve the above error. After I have added [mysqld] default-time-zone = 'UTC' in my.ini file in MYSQL 8.0 workbench, I am losing the connection on localhost. I am...

View Article


Does MYSQL 8.0.13 works with Eclipse IDE? (no replies)

I would like to know if MYSQL 8 works with Eclipse IDE, specifically Eclipse Oxygen. Cos I have done some insertion and using the same old codes but the insertion is not successful, even though there...

View Article

How do I create my table to avoid...

I would like to know how should I create my table such that the below error will not occur ; java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '' for key 'PRIMARY' Currently, I have...

View Article


Any recommendation for indepth JavaFX books ? (no replies)

I need to render mySQL resultsets in graph using JavaFX. My sql and analytics work fine, just need a good book on how-to using JavaFX

View Article

Problem with inserting IP Addresses into mySQL (1 reply)

I am creating an IPAddress Vault for my apps, each of which is asssigned to some specific piece of h/w. Ideally the range should be from 192.168.100.mmm all the way to 192.168.900.nnn So, this is a...

View Article


Need solution for MySQL Not connected problem (no replies)

Actually I have trouble with MYSQL database. I am working in below mentioned working Enviroment. 1.CentOS Linux release 7.6.1810 (Core) 2.Tomcat 7 3.JAVA 1.8.0_191 - (openjdk version) 4.MySQL Databse...

View Article

Incorrect string value: '\\xF0\\x9F\\x91\\x8F\\xF0\\x9F...' (1 reply)

After updating from MySQL Connector/J 5.1.47 to 8.0.13, my service is sporadically getting into a state where any attempts of inserting Unicode values gives errors along the lines of: Incorrect string...

View Article

JDBC For MySQL 8/MySQL 8 Problem (no replies)

I already migrated to: mysql Ver 8.0.13-commercial for Linux on x86_64 (MySQL Enterprise Server - Commercial) But right now I am encoutering a big problem when at first boot/server initialization, I...

View Article
Browsing all 884 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>