[CONJ-653] DatabaseMetaData.getProductName() returns MySQL and not MariaDB Created: 2018-10-04  Updated: 2019-09-12  Resolved: 2019-06-17

Status: Closed
Project: MariaDB Connector/J
Component/s: metadata
Affects Version/s: 2.3.0
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Anders Karlsson Assignee: Diego Dupin
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

N/A



 Description   

The getProductName() metadata function should return MariaDB, not MySQL.



 Comments   
Comment by Diego Dupin [ 2019-01-15 ]

there is no getProductName in JDBC API. you mean getDatabaseProductName ?

In this case, MariaDB connector will return "MariaDB" or "MySQL" depending on the database server type. That corresponds to what indicate JDBC API "Retrieves the name of this database product."

Comment by Diego Dupin [ 2019-06-17 ]

closing since no answer

Generated at Thu Feb 08 03:17:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.