× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
Lwaugh reported 2018-05-02T03:51:31Z  · juhisindhani last modified 2018-10-30T09:24:20Z

Add support for MySQL version 8.0


v19.5
Priority Major
Complexity Unknown
Component DB - MySQL
Version 19.5

We should support version 8.0.11 which is general availability. Looks like we want to use version 5.1.46 connector to connect to older versions of MySQL and MySQL 8.

I downloaded and tested it. Seems to work ok. 
 
Here is the download page:
Here is the recommendation page:
 
Some issues that I found:
1) MySQL now supports descending and invisible indexes: DESC so need to add to the gui and maybe scripting
2) Version 8 uses create user instead of grant (GRANT USAGE ON *.* TO `tom`@'localhost' IDENTIFIED BY 'amazon'). This affects DBA tools security manager, schema tree users, Alter user. Password scheme has changed...
IDENTIFIED BY PASSWORD 'hash_string' syntax for CREATE USER and GRANT. Instead, use IDENTIFIED WITH auth_plugin AS 'hash_string'       for CREATE USER and ALTER USER, where the 'hash_string' value is in a format compatible with the named plugin.    Additionally, because IDENTIFIED BY PASSWORD syntax has been removed, the log_builtin_as_identified_by_password system variable is superfluous and has been removed. 
3) MySQL now supports Roles which should be added to the security gui for schema tree and dbatools. Feature that allows to create roles in MySQL server and assign specific privileges to them. These roles can be assigned to users. So from now you don’t have to remember which permissions a programmer from team X needs, and should a QA from team Y needs privilege Z. Also, it’s very easy to set up:
    Creating a new role:
    CREATE ROLE 'app_developer', 'app_read', 'app_write';
    Assigning privileges to roles:
    GRANT SELECT ON app_db.* TO 'app_read';
    Assigning the role to a user:
    GRANT 'app_read' TO 'read_user1'@'localhost', 'read_user2'@'localhost';
4) Script Table not working, columns are out of order. Execute these table examples. Notice that when scripting them, the columns are out of order.
CREATE TABLE members (
    firstname VARCHAR(25) NOT NULL,
    lastname VARCHAR(25) NOT NULL,
    username VARCHAR(16) NOT NULL,
    email VARCHAR(35),
    joined DATE NOT NULL
)
PARTITION BY KEY(joined)
PARTITIONS 6
 
CREATE TABLE members1 (
    firstname VARCHAR(25) NOT NULL,
    lastname VARCHAR(25) NOT NULL,
    username VARCHAR(16) NOT NULL,
    email VARCHAR(35),
    joined DATE NOT NULL
)
PARTITION BY RANGE( YEAR(joined) ) (
    PARTITION p0 VALUES LESS THAN (1960),
    PARTITION p1 VALUES LESS THAN (1970),
    PARTITION p2 VALUES LESS THAN (1980),
    PARTITION p3 VALUES LESS THAN (1990),
    PARTITION p4 VALUES LESS THAN MAXVALUE
)
 
CREATE TABLE bistudio_example  ( 
Sales_Reason      text NULL,
Customer_Name    text NULL,
Territory        text NULL,
Ship_Method      text NULL,
Currency_Code    text NULL,
Card_Type        text NULL,
City              text NULL,
State            text NULL,
PostalCode        text NULL,
OrderDate        timestamp NULL,
DueDate          timestamp NULL,
ShipDate          timestamp NULL,
Online_Order_Flag bit(1) NULL,
Sub_Total        double NULL,
Tax_Amount        double NULL,
Freight          double NULL,
Total_Due        double NULL,
Sales_Order_ID    double NULL,
Product_Category text NULL,
Profit            double NULL 
)
ENGINE = InnoDB
AUTO_INCREMENT = 0
GO
 
 
 
52 attachments

Issue #15562

Verified
Fixed
Resolved 2018-10-29T07:52:01Z
 
 
Completion
Due May 31, 2018
Fixed Build ADS 19.5.0-dev-67
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017