I HAVE APACHE TOMCAT 1.4 WHERE DO I PUT MYSQL DRIVER
if you're doing it as DriverManager.getConnection(), then you can put the mysql connector jar in Tomcat/lib or YourApp/WEB-INF/lib
Related
is there a workaround that allows me to connect and query MySQL 8 database from within my rubymotion (RedPotion) Projet, instead of defining and statically compiling my schema in rubymotion??
Below is my development environment.
Ruby version 2.5.8
RubyMotion 7.4
ProMotion 2.8.2
cocoapods 1.8.0
redpotion 1.7.1
I want to connect MySQL with Grails in Netbeans. I am using,
Grails version:3.2
Netbeans: 8.2
JDK: 1.8
OS: Windows 10
How to connect my grails project with MySQL Database in NetBeans? I have search through the internet, But could not find any way to add mysql-connector.jar or any other process.
How can I solve this problem?
you shouldn't add it manually. it is usually resolved (by convention) by adding proper dependency:
dependencies {
runtime 'mysql:mysql-connector-java:5.1.29'
}
The configuration can be maintained in either grails-app/conf/application.groovy or grails-app/conf/application.yml
More info: https://docs.grails.org/latest/guide/conf.html#dataSource
I have current MySQL version 5.6.22 x64 installed.
Can I user a v5.1 connector jar?
- Im not finding the 5.6 connector jar. Is there any?
The purpose is to configure my Wildfly server with it.
My OS is a Windows 8.1 x64bits
Yes, of course. Connector/J 5.1.34 is latest version the official JDBC driver for MySQL.
See docs http://dev.mysql.com/doc/connector-j/en/connector-j-versions.html
Connector/J 5.1 is a Type 4 pure Java JDBC driver, which conforms to
the JDBC 3.0 and JDBC 4.0 specifications. It provides compatibility
with all the functionality of MySQL, including 4.1, 5.0, 5.1, 5.5,
5.6, and 5.7.
Still no Java 8 (JDK) support for the OpenShift Wildfly 8.1 cartridge? Is this a limitation of the SELinux gear? Or can I just create a Java 8 JDK cartridge and a modified Wildfly 8 cartridge and combine them in the same gear?
As of june 3rd, there is JDK 8 support for wildfly.
See https://www.openshift.com/content/support-for-jdk-8#comment-39656
As can be read here: https://community.jboss.org/people/fjuma/blog/2014/06/03/wildfly-810final-on-openshift--with-jdk-8-support new wildfly instances from scratch will default to JDK 8.
OpenShift currently does not support JDK8 yet.
Once it will be added WildFly cartridge will be updated to add support for it.
There is also running discussion about this on wildfly-dev mailing list.
for more see http://wildfly-development.1055759.n5.nabble.com/WildFly-8-1-0-CR1-on-OpenShift-tt5713989.html#none
We have a Tomcat 4.1 application that works well with MySQL 4.0.26. I am attempting to upgrade MySQL to version 5.1 and Tomcat will not connect using JDBC. Is it possible to have Tomcat 4.1 working with MySQL 5.1?