I wanted to connect to local MySql 8.0 database using Eclipse database tools. But while setting up new database connection profile, I could not find Driver Template for MySql 8.0 . The list only contains Template profile upto MySql JDBC Driver 5.1 . So How can newer version of MySql like 8.0 in my case can be connected using eclipse DTP tools
How to connect to MySql 8.0 database using Eclipse Database Management Perspective
2.5k Views Asked by Danish Mahmood At
2
There are 2 best solutions below
0
Kaif
On
I had the same issue and I did the followings,

select the MYSQL JDBC Driver 5.1 and change the Driver name to unique name as below,

Next I removed the existing jar and include the correct MYSQL jar file in the jar list,
Important - Remove the 5.1 jar else it will give you and error
finally setup the Database connection database name, user name and password
And Now Click OK!!!
Related Questions in MYSQL
- MySQL Select Rank
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- Push mysql database script to server using git
- Why does mysql stop using indexes when date ranges are added to the query?
- Google Maps API Re-size
- store numpy array in mysql
- Whats wrong with this query? Using ands
- MySQL-Auto increment
- show duplicate values subquery mysql
- Java Web Application Query Is Not Working
- microsoft odbc driver manager data source name not found and no default driver specified
- Setting foreign key in phpMyAdmin
- No responses from google places text search api
- Adding to MAMP database in SQL/PHP
- I want to remove certain parent- and child-divs in all my wordpress posts with php or some other script
Related Questions in ECLIPSE
- Set log4j.properties for GWT
- Compound classes stored in an array are not accessible in selenium java
- Eclipse color highlighting broken
- Eclipse Luna with Nodeclipse hangs when navigating a .js file with the Outline view
- Java Heap Space error on Layout xml: GC overhead limit exceeded
- Eclipse, how to find how many attributes defined in a class?
- Eclipse and Windows Headers
- Eclipse find source file from library
- mingw-64 conflicting declarations when cross-compiling
- String.split() not behaving in android
- local variable referenced before assignment in strange condition
- eclipse errors when try to change to master git branch
- Scala Eclipse IDE compiler giving errors until "clean" is run
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- Behaviour Difference: Intellij vs Eclipse
Related Questions in JDBC
- Slick query for one to optional one (zero or one) relationship
- No Suitable Driver Found For My Java Application Code
- How to grant privileges to current user
- Selecting a count from my database using Java and Netbeans
- ActiveMQ offline message transfer on database level
- Not able to update db table from one server to another server in JAVA
- How to use CachedRowSet in Google App Engine?
- Where should ? be placed in a PreparedStatement?
- How to figure out the optimal fetch size for the select query
- Microsoft SQL Server JDBC Driver -SSL issues
- Error in updating records using JDBC
- Retrieving image in a jtable
- Log4jdbc-log4j2 to log OracleTypes.CURSOR
- Cannot initialise HikariCP pooled connection, Failure in loading native library db2jcct2
- How to write an java application that takes a sql query and a number as input and fire it
Related Questions in MYSQL-8.0
- Connector/J error after upgrade mysql to version 8
- want to convert hex to binary which gives answer is more than 64 bits
- error using mydumper since move to mysql8 caused by character `\x0A` used for new lines
- MySQL join dataset on at least X items
- MySQL coalesce two nullable BITs gives result =48
- How can i change timezone in the Managed MYSQL Database in DigitalOcean?
- On Windows 10, how do I configure my docker-compose to allow Python to connect to MySql 8?
- Docker 2.4 on macos mounts volumes not properly when "use gRPC for file sharing" enabled
- Error Code: 1214. The used table type doesn't support FULLTEXT indexes - when using UNION in Mysql 8.0
- Join a table to itself in reverse order in mysql
- ORDER BY Clause with IF Statment
- Showing Percentage on every row
- islands and gaps ordering issue MYSQL 8.0
- Unable to insert NULL values to a NOT NULL date field after upgrading from MySQL 5.7 to MySQL 8
- Moved the file to the directory specified by secure_file_priv, but it is still stuck
Related Questions in ECLIPSE-DTP
- Extracting SubQuery details using SQLQueryParserManager of Eclipse DTP
- Eclipse Data Tools Platform (DTP) Select * limit
- Missing dependency in DTP feature
- Eclipse Data Tools Project: SQL Query Parser - Imports fail to resolve
- How to Connect MySql from Eclipse using Data Source Explorer
- Eclipse DTP does not show nvarchar on SQL server
- After successfully creating a MySQL database within Eclipse Juno, how/where do I save my database?
- getting sun.security.validator.ValidatorException: PKIX path building failed:
- How to make Eclipse respect \" for delimited identifiers in JPA 2.0?
- Eclipse DTP still doesn't handle delimiter statements
- How do I set a login timeout using Eclipse's Data Tools Platform?
- User-friendly tool to edit databases in Eclipse
- free gui tool to export and import data from and to relational databases
- Eclipse Data Tools Platform (DTP) - MySQL not available
- Eclipse DTP new driver definition
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?



You need to select version 5.1 from the list. MySQL JDBC driver version 5.1 (i.e.
Connector/J 5.1) is compatible withMySQL 8.0. Given below is an excerpt from https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-versions.html: