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

Workbench main objetive? (no replies)

$
0
0
Hi there,
I am a bit confused about the main objective of the workbench, after designing the diagram with tables and relationships.. are those translated into actual tables in the DB?

Do you know where I could get a "Best practices" document using the workbench?
this is my first system design with mySQL and i do not know how to start. I guess the workbench will faciliate my talking to developers and business but.. can developers use these diagrams instead of creating all those tables from the scratch?

Besides the tables... what else do you recommend doing within the workbench that will make my life easier when meeting the developers? like functionality, views, reports, security restrictions, etc.

TIA
mariano

Problem with Data Export (no replies)

$
0
0
I use MySQL Workbench 6.2.4.12437 build 2426 (32 bits) Community.

When i am trying to make Data Export - Export to Dump Project Folder,
i receive this message:

Error: Unhandled exception: 'builtin_function_or_method' object has no
attribute '__getitem__'

After this message, the [Start export] button becomes gray and no longer works.
I have to restart the application in order to regain access to the function Data Export.

If i make Data Export - Export to Self Contained File, there is no problem.

Please help me to solve this problem

MySql Workbench for Fedora 21 (no replies)

$
0
0
Can you someone tell me how to install mysql workbench on Fedora 21?

I have newly installed Fedora 21 on my HP laptop and then successfully install mysql server from yum latest repository but then I could not find mysql workbench for fedora 21 and lower version of mysql workebench is not installed as it was keep asking libctemplate.so.2 file where it was already installed in /usr/lib folder.

Please guide me how to install mysql workbench?

Windows 7: 1 account, multiple workbench environments (no replies)

$
0
0
Hi,

Being fairly new to MySQL, I am a happy user. I do have my fair deal of SQL experience, so it's quite easy to get me going. But now I've walked into a problem of which I do not know how exactly to find a solution.
Recently we have set up several MySQL servers on different PC's, running Windows 7 in an Enterprise environment. They all have their specific tasks and run separately. To manage these servers, we use a shared Windows 7 account.
The problem we encounter now, is that every time we log in to another PC and want to start an environment from the workbench, we get a "Password Management error", generated by Workbench (6.2 CE).

The error message:
"could not decrypt password cache."
"If loading the password fails repeatedly you should clear the vault. This will remove all passwords, hence you have to enter them again."

Then I can choose between "Ignore" and "clear Vault".

This occurs every time when the same Windows account opens another workbench on another PC. So clearly, the password vault is not correctly shared between the PC's.
Has anyone here had the same problem before?

With kind regards,
Timo

mysqldump fail only from workbench (1 reply)

$
0
0
From my workstation (Linux) I can access the MySQL instance on another machine (Windows) in my workgroup. I am connecting as user 'root' which has full privileges, so I can successfully query all tables in all schemas.

When I select Data Export I get an error:
====
Running: /usr/bin/mysqldump --defaults-extra-file="/tmp/tmpr0XSlq/extraparams.cnf" --user=root --max_allowed_packet=1G --host=[my Windows box] --port=3306 --default-character-set=utf8 "[my schema]" "[my table]"
mysqldump: Got error: 1045: Access denied for user 'root'@'[my-workstation] .[my-workgroup]' (using password: YES) when trying to connect
=====

This used to work previously but has recently stopped working. I recently changed the workgroup name (on both the workstation and the "server" machine, of course) and I suspect that might be relevant but I can't be sure whether it has worked since the workgroup name change.

Any suggestions?

Help connecting to a networked database (2 replies)

$
0
0
First off, please bear with me here, as I am very new to both MySQL, and Linux.

I have MySQL installed on a linux machine. I have created my database, created a user account with the IP address of my windows based machine (both connected to the same router) and given it all priveleges.

When I launch MySQL Workbench on the linux machine I am able to log into the database from root with no problems.

I then installed MySQL Workbench, and MySQL connector odbc on my windows machine. In MySQL Workbench under new connection, I entered the ip address and port for my linux machine, as well as the user name and password for the aqccount I created for the IP address of my windows machine. When I test the connection I get the error message "Failed to Connect to MySQL at 192,168,2,11:3306 with user"

My windows machine is win 7, with all available updated installed. The linux machine is Pinguy OS / Ubuntu. Any ideas where I've gone wrong? Do I need to pen ports on my router for local traffic? I am at a complete loss here.

How to import CSV onto AWS MySQL? (no replies)

$
0
0
Hi there,

I have a remote (AWS-hosted) MySQL instance, and am using MY SQL Workbench to connect to it.

I have some data in CSV format that I want to upload to my MySQL instance.

It is on my local computer (Mac), and I am seeing many references to "mysqlimport" command line tool.

However, this command line tool does not exist on my mac and despite hours of searching, I have not found a "mysqlimport command tool" download.

What is the best way to copy a CSV file from my local computer, to the MySQL database stored on the cloud?

Thank you very much,
Jason

Database missing (1 reply)

$
0
0
I'm very new to MySQL workbench and database so please bear with me. All things were fine for several months. I created 2 databases, they showed properly in workbench and all seemed well. Then all of a sudden both databases are no longer showing in the workbench home screen. I checked for the files and they are there in the ProgramData/MySQL/MySQL server 5.6/data. Also the programs that pull data from these databases are working properly. So how do I get these to reappear as they once did on the workbench home screen.
Thanks for any and all help.

unable to retrieve disk space in data dir. (1 reply)

$
0
0
I'm new to MySQL. I am currently saving MySQL data to an external HD attached to the PC where MySQL is installed. I need to save future data to my LAN. 1) I have copied my working \data folder to the LAN; 2) I have created the Network Service user for the new data folder and assigned Full Control permissions to the new data folder, and 3) I have changed the path to the new LAN data folder in my.ini. When I try to connect to the new data folder, Workbench says that I can't connect to MySQL server and that it is "unable to retrieve disk space in the data directory."

What am I missing or doing wrong? Thanks for your help!

Compile/build wb from source - Centos7, 64bit. (no replies)

$
0
0
Hi all,

I'm trying to compile wb from source and have 1 question and
1 issue.

The question is whether there's a guide for Redhat (yum-based)
Linuxen? It seems somewhat ironic that Oracle offers a redhat
based distro and the install guide (Buiding on Linux section)
is debian based (apt-get).

My problem is that yum appears to be unable to resolve dependencies
and I was wondering if any of the wb devs have seen this
before? If so, how was this resolved?

Should you require any further info, please don't hesitate to
let me know.

Rgs, Pol.

Changing Tables (3 replies)

$
0
0
I am trying to edit the fileds in a table. I deleted the connection and re-foprward engineered my schema to a new connection, yet when I open the connection and look at the tables it is the same as before the changes were made. In the schema the changes are visible, in the connection they are not. What else do I need to do? I have no data yet so I suppose I can just delete the whole thing and start over. But that seems kind of rediculous since I only changed the name of two fields in one table.

How do I do a complete backup/restore of a schema with views and function? (no replies)

$
0
0
I am trying to backup a single schema on a Windows server and restore it to an Ubuntu 12.04 Linux server running MySQL 5.5.4. The schema includes views and functions. When I used the MySQL Workbench "export" feature (including data and structure), most of the views were not imported to the new server.

Great if someone could share how to do this via Workbench, otherwise, I just need the syntax to do a complete dump from the CLI and it's restore equivalent.

/usr/lib/mysql contents (1 reply)

$
0
0
Firstly I am migrating from windows 7 to ubuntu. I want to write a 'C' program that CRUDs to a MySql database at my godaddy web site. Can I use any of the dot-so modules in the workbench library? Is there any documentation for the modules?

thanks
jim murray

Data Migration from SQL Server 2014 (no replies)

$
0
0
While migrating data from SQL 2014 receiving following error in to table we are receiving following error on many columns of different tables

Type mismatch fetching field 30 (should be short, was MYSQL_TYPE_TINY)

DataType in MySQL for column

`hasGroupsRestrictions` tinyint(1) NOT NULL DEFAULT '0',

DataType in SQL 2014

[hasGroupsRestrictions] [smallint] NOT NULL DEFAULT ((0)),

Note: I cannot change the datatype in MySQL of this column as Schema is already created and client don't want to change datatypes but I can change of SQL 2014.

Please help me out on this.

Search String feature (no replies)

$
0
0
Mysql workbench only has a small sliver for search text when I am trying to search through long query text. I am able to use the search feature, but not able to view the actual text I have typed into the search box.

Workbench quits when trying to save a model (no replies)

$
0
0
Dear all,

I created a database with Workbench version 6.2.4.12437 build 2426 (64 bit) on a Windows 8.2 system.

Today I created an err model from the existing database. This works.

Whenever I want to save the model Workbench quits without an error message.

The same happens if I create a model from scratch.

Who can help?

Best regards
Jorg

UPDATE NULL (no replies)

$
0
0
Estou precisando dar um UPDATE comparando TABELA 'A' com TABELA 'B' (estruturas iguais), onde for NULL em TABELA B preciso alterar dados em TABELA A estou utilizando a seguinte sequencia que não está funcionando

UPDATE
TABELA A, TABELA B
SET
TABELA A.campo2 = (TABELA A.campo1 + TABELA A.campo2), TABELA A.campo1 = 0
WHERE
(TABELA A.campo1=TABELA B.campo1 AND
TABELA A.campo2= TABELA B.campo2) AND
TABELA B.campo1 is null;

Esse comando não funcionou.
Alguém me ajuda?

"Diagram Properties and Size..." Greyed Out (1 reply)

$
0
0
While editing an EER Diagram, I click on the "Model" dropdown and "Diagram Properties and Size..." is greyed out.

This conditions obtains regardless of how I activate the EER Diagram editor -- whether opening an existing .mwb file or adding a new diagram.

Moreover, the default canvas size of 2 pages is not adequate.

Is there any way I can get a blank canvas of the desired size?

MySQL Workbench 6.0
Version 6.0.8.11354 build 833 Community

ubuntu 14.04 LTS

Missing performance reports in MySQL Workbench (1 reply)

$
0
0
Hi

I have just setup the performance schema (sys) in MySQL Workbench using the setup button in the Performance Reports page.

The setup seems completed.

I have my Performance Schema Setup stopwatch, but I dont have any report listed in the Performance Reports (blank page).

Is there any help to resolve the problem?

Best,

Leo

The following is the output of the script captured in MySQL Workbench.

================================================================================

Thread started
Thread started
Thread started
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema.py", line 127, in update_ui
self.owner.page_activated()
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema.py", line 331, in page_activated
self.create_ui()
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_reports.py", line 470, in create_ui
while res.nextRow():
AttributeError: 'NoneType' object has no attribute 'nextRow'
The following views are not handled set(['waits_global_by_latency', 'x$user_summary_by_file_io_type', 'wait_classes_global_by_avg_latency', 'x$host_summary_by_statement_type', 'x$statements_with_full_table_scans', 'x$host_summary_by_stages', 'io_global_by_file_by_bytes', 'innodb_buffer_stats_by_schema', 'x$statements_with_sorting', 'x$ps_schema_table_statistics_io', 'io_global_by_wait_by_latency', 'processlist', 'statements_with_runtimes_in_95th_percentile', 'x$processlist', 'x$user_summary', 'user_summary_by_file_io_type', 'x$ps_digest_95th_percentile_by_avg_us', 'host_summary', 'io_global_by_wait_by_bytes', 'schema_index_statistics', 'schema_table_statistics', 'io_global_by_file_by_latency', 'user_summary_by_stages', 'ps_check_lost_instrumentation', 'x$user_summary_by_stages', 'innodb_buffer_stats_by_table', 'statement_analysis', 'user_summary_by_file_io', 'latest_file_io', 'x$ps_digest_avg_latency_distribution', 'x$user_summary_by_statement_type', 'user_summary_by_statement_latency', 'host_summary_by_file_io_type', 'x$statements_with_temp_tables', 'x$latest_file_io', 'x$host_summary_by_statement_latency', 'x$user_summary_by_file_io', 'user_summary_by_statement_type', 'host_summary_by_statement_type', 'x$waits_by_host_by_latency', 'x$user_summary_by_statement_latency', 'host_summary_by_stages', 'x$host_summary_by_file_io', 'host_summary_by_statement_latency', 'waits_by_user_by_latency', 'schema_table_statistics_with_buffer', 'user_summary', 'host_summary_by_file_io', 'wait_classes_global_by_latency', 'waits_by_host_by_latency', 'x$host_summary', 'x$statements_with_errors_or_warnings', 'x$host_summary_by_file_io_type', 'io_by_thread_by_latency'])
default
disabled
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 122, in mouse_click
self.callback(self.hovering_state)
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 248, in change_instrumentation
self.owner.rebuild_ui(False)
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 1447, in rebuild_ui
self.data_collection = SetupDataCollection(self, self.config_data.sections['consumers'], self.config_data.variables)
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 443, in __init__
self.create_ui()
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 587, in create_ui
self.global_check = self.create_dc_checkbox(self, self.get_var_name_and_label('global_instrumentation', -1))
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 465, in create_dc_checkbox
checkbox.set_active(self._data[var_lbl[0]].enabled)
KeyError: 'global_instrumentation'
["\n UPDATE performance_schema.setup_instruments\n SET ENABLED = IF(NAME IN ('wait/lock/table/sql/handler','idle') OR NAME LIKE 'wait/io/file/%' OR NAME LIKE 'wait/io/table/%' OR NAME LIKE 'statement/%', 'YES', 'NO'),\n TIMED = ENABLED\n ", "\n UPDATE performance_schema.setup_consumers\n SET ENABLED = IF(NAME IN ('events_statements_current','global_instrumentation','thread_instrumentation','statements_digest'), 'YES', 'NO')\n "]
default
fully
["\n UPDATE performance_schema.setup_instruments\n SET ENABLED = IF(NAME IN ('wait/lock/table/sql/handler','idle') OR NAME LIKE 'wait/io/file/%' OR NAME LIKE 'wait/io/table/%' OR NAME LIKE 'statement/%', 'YES', 'NO'),\n TIMED = ENABLED\n ", "\n UPDATE performance_schema.setup_consumers\n SET ENABLED = IF(NAME IN ('events_statements_current','global_instrumentation','thread_instrumentation','statements_digest'), 'YES', 'NO')\n "]
default
default
default
default
disabled
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 122, in mouse_click
self.callback(self.hovering_state)
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 248, in change_instrumentation
self.owner.rebuild_ui(False)
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 1447, in rebuild_ui
self.data_collection = SetupDataCollection(self, self.config_data.sections['consumers'], self.config_data.variables)
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 443, in __init__
self.create_ui()
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\wb_admin_perfschema_instrumentation.py", line 564, in create_ui
if self.owner.target_version.is_supported_mysql_version_at_least(5, 6, 3):
AttributeError: 'NoneType' object has no attribute 'is_supported_mysql_version_at_least'

Connection Warning Workbech (1 reply)

$
0
0
Hello All,

I installed Mysql Workbench in a Open Suse 13.2 but when a want to run it, the system show a warning dialog:

Incompatible/nonstandard server version or connection protocol detected (10.0.14).

A connection to this database can be established but some MySQL Workbench features may not work properly since the database is not fully compatible with the supported versions of MySQL.

MySQL Workbench is developed and tested for MySQL Server versions 5.1, 5.5, 5.6 and 5.7

This is the output of mysql --version:

mysql Ver 15.1 Distrib 10.0.14-MariaDB, for Linux (x86_64) using EditLine wrapper


How can I install those version of mysql?
Viewing all 3737 articles
Browse latest View live


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