Quantcast
Channel: MySQL Forums - MySQL Workbench
Viewing all 3736 articles
Browse latest View live

Migration from POSTGRES TO MYSQL Row size too large error in mysql create table query (no replies)

$
0
0
Hi all,

While migrating from postgres to mysql via MYSQL WORKBENCH. I am getting this error with several tables.


Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs.
SQL Error: 1118
- Creating table local.name_datadictionary
Execute statement:
CREATE TABLE IF NOT EXISTS `local`.`name_datadictionary` (
`id` INT NOT NULL AUTO_INCREMENT,
`column_name` VARCHAR(255) NULL,
`column_format` VARCHAR(255) NULL,
`column_type` VARCHAR(255) NULL,
`field_name` VARCHAR(255) NULL,
`column_max_length` INT NULL,
`rows_with_data` INT NOT NULL,
`intrinsic_values_count` INT NULL,
`warnings` VARCHAR(1024) NULL,
`actions` VARCHAR(50) NULL,
`sufficiency_test` INT NOT NULL,
`mapping_test` TINYINT NOT NULL,
`format_test` VARCHAR(255) NULL,
`intrinsic_test` VARCHAR(255) NULL,
`datafile_id` INT NOT NULL,
PRIMARY KEY (`id`),
INDEX `name_datadictionary_eb3dffdfc66` (`datafile_id` ASC),
CONSTRAINT `name_datadictionary_datafile_id_c243sdsds5_fk_name_datafiles_id`
FOREIGN KEY (`datafile_id`)
REFERENCES `local`.`name_datafiles` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
- Creating table local.name_datadictionary_intrinsic_values
Execute statement:

Please help me how to fix this..


Thanks and Regards,
Rajesh Upadhyaya

Create TextNote from Scripting (no replies)

$
0
0
While you can easily create a new diagram layer by using the following code:

import grt
layer = diagram.placeNewLayer(50.0, 50.0, 200.0, 300.0, "Very Red")
layer.color = "#FF0000"

I am struggeling to find a way to create a new textnote figure on the diagram programmatically.

Is it even possible?

MySql auto increment (no replies)

$
0
0
I created an auto increment feild using mysql workbench for a table. I am trying to add values to the table using mysql table editor. However the auto increment feild is not working. It does not auto increment. I can manually enter values but it does not let me auto increment. I checked the sql script being run when i create the the feild and it looks good. However when I try to insert data to the table using the editor it just not auto populate with values. If anyone has encountered this problem. Please advise.
Thanks
Sherly

Different values for the same column (no replies)

$
0
0
In workbench, when I do

show table status;

the collation column comes back with mostly utf8mb4. However, from the command line in mysql directly.. the collation column comes back as mostly utf8.

Why the discrepancy and which is the right answer?

Latest version of workbench 8.0.12 on ubuntu.
mysql version mysql Ver 14.14 Distrib 5.7.23,

Workbench not answer and load CPU (no replies)

$
0
0
MySQL Workbench (any version and last v.8 to) not answer if I do next steps:
1. Run select query and recive about 1000+ records
2. Select all record in result table
3. Try to deselect by click on any cell in result table (or try close query tab or any other action if need to deselect).

and then Workbench not answer. CPU load about 30-40%.
One thing can i do - kill workbench thread.

This bug was in priview versions to.

Creating an SSL connection w/ MySQL Workbench (no replies)

$
0
0
I am a volunteer software developer working on a MySQL based content management system for a non-profit. I have been struggling for some time to establish a connection between MySQL Workbench and our AWS server.

I am able to establish a SSL terminal connection to the server with PuTTY and I am able to also do FTP with the server. I have the private and public keys for the SSL access. I have root access to the server, but the MySQL database was set up by someone else and my command line skills w/ MySQL are not so good.

I have MySQL Workbench installed on my computer, and it looks like I can set up a SSL connection between MySQL Workbench and our server, but I have not been successful in doing this in the past. (I just recently discovered these forums.)

Can I use my existing SSL keys or do I need to create new keys? I am not very knowledgeable about the security stuff, so any assistance to help me get this connection finally set up would be greatly appreciated.

Problem with migrating from SQL Server to MySQL (no replies)

$
0
0
I've got a problem during migration. To migrate data between SQL Server 2017 and MySQL I use MySQL workbench (version 8.0.12). When script for new tables generation is completed I can find that there are many places where int is set to default value of '', for example:

CREATE TABLE IF NOT EXISTS `myname`.`Table1` (
`version` INT NOT NULL DEFAULT '',
...
)
And this, of course, is not working in next steps. Since I've got 'version' column in each table, is there any way that I can change this globally?

I know that I can go to each table and change it manually but it will be a lot of clicking...

File Import (no replies)

$
0
0
I tried importing a .csv file in MySQL Workbench 6.3 CE having 1,25,000 Rows and
28 Columns on which the import continued about for 43 minutes and only 36% of the file got imported after which the application crashed.
May I know the maximum amount of rows, columns and size of the .csv file that can be imported successfully in the database?

Malformed packet while connecting to remote DB (no replies)

$
0
0
Hi all,

I have a remote MySQL DB,
I connect 4 dm Remote DB but one of them has a problem like Malformed packet,
I connected for other 3 DB but just one of them has Malformed packet problem.

I check the all task what I found on google but they dont work for me.
I use 3306 port,

I just see differences bewtwen my local and remote DB this.
Remote DB services mysql name is MYSQL57
my local services mysql name is MYSQL56. there is just differences.


When I try to connect to the DB using workbench I get this error:
"Malformed packet"

could anyone help me pls solve this problem ?

How do I install multiple versions MySQL Workbench? (no replies)

$
0
0
I have 8.0 CE installed and use it for the many MySQL 5.5 DBs I (now have to) admin.

I have 2 MySQL 5.1 DBs to admin but 8.0 fails to connect to that with "bad handshake."

When I try to install 6.3 CE (which, apparently works with MySQL 5.1) the installation fails with:

"A later version of MySQL Workbench 6.3 CE is already installed. Setup will now exit."

There is no "later version" of 6.3 CE installed, only 8.0.

How do I install 6.3 alongside 8.0?

mysql installer for 32 bit windows fails to update to the latest version of mysql workbench!!! (no replies)

$
0
0
Why???

I downloaded the mysql installer from the following page for 32 bit windows
https://dev.mysql.com/downloads/workbench/

Even though I have only mysql workbench 6.3 it refuses to update to the latest mysql 8.0
Why???
I have updated the catalog also but it won't install the latest mysql workbench.
Why this strange behavior???

Restore workspace error while connecting to mysql (no replies)

$
0
0
What is this error?

It says Failed to open file

c:\users\paratus\Roaming\Mysql\Workbench\......

Which is this file and why can't it open it?

What's the solution to make this error go away?

Windows 10 Workbench 8.0.12 single quote problem in table comments (no replies)

$
0
0
Putting a single quote character in the comments section of the table cause "Error Parsing DDL". Writing comments containing single quote is not supported in this version?

Installing MYSQL in Client Machine (no replies)

$
0
0
I am trying to install data access to the Client machine, MYSQL data already installed in Windows Server 2016

But not able to access thro desktop from Client machine thro workbench.

The workbench shows the following error "select is not valid at this position ..." (no replies)

$
0
0
The workbench shows the following error: "select" is not valid at this position for this server version, expecting: '(', WITH

My query is:

Select title
From Movie
Where year<=All(Select year
From Movie);

This query can be successfully run, but it just shows an error on the side.

I am using the latest version of MySQL Server (8.0.12) and MySQL workbench.

Can someone please help?

Thank you!

Column Properties (Storage Type and Generated) (no replies)

$
0
0
Hi guys,

Creating tables, using the Workbench user interface, when creating a new column, I select the storage type as STORED, but then it changes back to VIRTUAL.

ALSO, what does the GENERATE property of a field means/do?

Thanks

[ERROR] Access denied for user 'root'@'localhost' (no replies)

$
0
0
I'm attempting a fresh install of mySQL and receive the above error when trying to connect to the discovered instance through Workbench. Any help would be highly appreciated since I've already spent the better part of 6 hours banging my head against a wall.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

OS: Windows Server 2016
mySQL: 8.0.12
Workbench: 8.0.12

Default options were used across the board other than setting the root password during installation. Only mySQL & Workbench were selected for install. The install completes clean.

From the command line these are the other errors I see:

--------------

c:\Program Files\MySQL\MySQL Server 8.0\bin>mysqld.exe -u root -p
Enter password: ****************
mysqld: Can not perform keyring migration : Invalid --keyring-migration-source option.
2018-09-27T20:28:31.314789Z 0 [System] [MY-010116] [Server] c:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.12) starting as process 4644
2018-09-27T20:28:31.327708Z 0 [Warning] [MY-010091] [Server] Can't create test file c:\Program Files\MySQL\MySQL Server 8.0\data\UMCV-REDCAP1.lower-test
2018-09-27T20:28:31.327935Z 0 [Warning] [MY-010091] [Server] Can't create test file c:\Program Files\MySQL\MySQL Server 8.0\data\UMCV-REDCAP1.lower-test
2018-09-27T20:28:31.329908Z 0 [ERROR] [MY-011084] [Server] Keyring migration failed.
2018-09-27T20:28:31.379330Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-09-27T20:28:31.386010Z 0 [System] [MY-010910] [Server] c:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.12) MySQL Community Server - GPL.

c:\Program Files\MySQL\MySQL Server 8.0\bin>mysql.exe -u root -p
Enter password: ****************
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Can't connect to mysql (8 replies)

$
0
0
I installed the developer default of mysql community editipon and the stupid thing won't even connect to mysql server?
Why???

How do I set standard authentication for a user (no replies)

$
0
0
I use MySQL 8.0.12 on a macOS 10.13.6 Apple laptop. My Workbench version is 8.0.
I have MySQL databases that must be accessed by R scripts and the RMySQL package apparently doesn't like SHA2 authentication. I logged into Workbench as root, went to Management/Users and Privileges and tried to change the Authentication Type for the proper user. The screen suggests using the "Standard" authentication type here, but Workbench only allows "caching SHA256 Password" as an option (it's greyed out and I can't scroll to any other method). How can I use "Standard"???

Failed to connect to MySQL server (no replies)

$
0
0
When i try to connect a database residing in a lxd container to the workbench this error occurs.

Failed to connect to MySQL at 192.168.100.130:3306 with user farmuser Can't connect to MySQL server on '192.168.100.130' (111)

i'm currently using Linux Mint
Viewing all 3736 articles
Browse latest View live


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