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

MySQL Workbench in Fedora 31 (no replies)

$
0
0
I'm having trouble using MySQL Workbench in Fedora 31. Any time I try to run a command in a script,(Such as CREATE DATABASE ;, USE ;), I see 'Script interrupted' in the status box. If I run the exact same command at the MySQL prompt, it completes successfully.
Is there a fix for this, or an earlier version of Workbench that is recommended for Fedora 31? I have whatever version was available for download on yesterday, 2/12/20.

workbench lauch error in Oracle Linux 7.2 undefined symbol: _ZN4Glib17SignalProxyNormal13connect_impl_EbON4sigc9slot_baseEb (no replies)

$
0
0
I'm trying to install and use mysql-workbench in my OL7.2
{code}
cat /etc/*relea*
cat: /etc/lsb-release.d: Is a directory
Oracle Linux Server release 7.2
NAME="Oracle Linux Server"
VERSION="7.2"
ID="ol"
VERSION_ID="7.2"
PRETTY_NAME="Oracle Linux Server 7.2"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:2:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.2
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.2
Red Hat Enterprise Linux Server release 7.2 (Maipo)
Oracle Linux Server release 7.2
{code}

But its failing while trying to launch it

{code}
mysql-workbench
Using /usr/local/lib/libproj.so.
/usr/libexec/mysql-workbench/mysql-workbench-bin: symbol lookup error: /usr/lib64/mysql-workbench/liblinux_utilities.so.8.0.19: undefined symbol: _ZN4Glib17SignalProxyNormal13connect_impl_EbON4sigc9slot_baseEb

{code}

I used yum mysql repos to install the latest version. Any version I use its same error I get. Unable to interpret the exact os library/symbol its looking for.

{code}
$ ldd /usr/lib64/mysql-workbench/liblinux_utilities.so.8.0.19
ldd: warning: you do not have execution permission for `/usr/lib64/mysql-workbench/liblinux_utilities.so.8.0.19'
linux-vdso.so.1 => (0x00007ffec3d41000)
libgrt.so.8.0.19 => not found
libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f63d1c07000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f63d1a02000)
libsecret-1.so.0 => /lib64/libsecret-1.so.0 (0x00007f63d17af000)
libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f63d1438000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f63d11e8000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f63d0eb1000)
libwbbase.so.8.0.19 => not found
libwbscintilla.so.4.1.5 => not found
libantlr4-runtime.so.4.7.1 => not found
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f63d0ba8000)
libm.so.6 => /lib64/libm.so.6 (0x00007f63d08a6000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f63d0690000)
libc.so.6 => /lib64/libc.so.6 (0x00007f63d02d0000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f63d00cc000)
libz.so.1 => /lib64/libz.so.1 (0x00007f63cfeb6000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f63cfc8f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f63d21fa000)
libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f63cfa0e000)
libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f63cf809000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f63cf5ec000)
libffi.so.6 => /lib64/libffi.so.6 (0x00007f63cf3e4000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f63cf1e0000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f63cefb8000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f63ced9e000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f63ceb3b000)
{code}

Workbench won't launch (1 reply)

$
0
0
Hi
I have just installed Workbench but when I try to launch it I don't see any program!

In my notifications tray, I see an icon for MySql notifier. If I open that up and try to install, variously I can't move the application to the right-hand box to install or I get a message that workbench is already installed.

What is going on and how do I fix?
thanks

visual tool to build data entry grid for multiple tables (3 replies)

$
0
0
Hi
I have been searching for tutorials on this but not got very far. I want to be able to drag multiple tables onto a "canvas", connect the tables via their foreign keys and then display a grid where I can enter my data.

So drop downs for labels of e.g categories stored in the parent table alongside the empty fields for the content i want to add in the child table. Ideally whilst hiding the ID column in the parent table but that is a detail

I assume this is easy enough to do but I can't find where to do it

(I have already set up my tables and entered the data in the parent tables)

thanks

Drag and drop on EER - direction of travel (no replies)

$
0
0
Hi
Can I confirm the direction of linking tables in the EER, please? Intuitively I would have thought you drag from the parent to the child but based on the line notations you start at the child and go back to the parent.

Please can you confirm?
e.g. if I have some categories (parent) defined and a list (child) I want to group by category do I click on the list table first and then the categories table, or the other way around?
thanks

MySQL Workbench 6.3.10 - 32bit install (no replies)

$
0
0
I could use some help with an 6.3.10 install issue. I have it installed and running on Windows 10 as a 64 bit application. Is there any way to force a 32 bit installation of Workbench from the downloadable MSI?

I know I'm going backwards but I could really use the 32 bit version as it will work better with my VPN software.

Thanks,
Jerry

concatenar dos consultas horizontalmente en una misma planilla (no replies)

$
0
0
hola amigos, estoy teniendo un problema de presentacion de resultados

tengo una tabla Trabajadores, que me llega desde excel externamente la cual se carga con mysql for excel, la tabla tiene el siguiente formato

DNI; Apellido; Nombre; Anio; Mes; MontoPagado

lo que necesito es sobre esa misma tabla presentar las diferencias de pagos entre dos meses consecutivos, es decir, una fila así

28765342; Gomez; Juan; 2019; 3; 1000; 2019; 4; 1200

Se que es ineficiente esta consulta, pero me piden que la presente de esta manera para que puedan ejecutar el script con los meses que quieran y exportar directamente a excel los resultados

Debug Stored Procedure in Workbench (2 replies)

$
0
0
Can I debug a StoredProcedure in the workbench? MySql is 8.0

Database Connection (no replies)

$
0
0
I can connect to the MySQL server via the command line. (Plesk, Linux ) with

mysql -uadmin -p'cat /etc/psa/.psa.shadow.'

However when I use the same credentials to create a workbench connection I get:

Your connection attempt failed for user 'admin' to the MySQL server at 199.199.99.0. Access denied for user 'admin'@'host-81-86-71-70.static.as9105.net (using password: YES)

I don't understand the host-81-86-71-70 - is this an IP address set somewhere in the configuration.

What am I doing wrong? Thanks.

How to create a new column in a select statement using some conditions in Mysql? (no replies)

$
0
0
sf_name finish_position official_rating date bsp diff
Camanche Grey 11 NULL 2013-09-18 72.53 0.00
Camanche Grey 4 NULL 2013-11-08 12.50 0.00
Camanche Grey 3 NULL 2014-02-27 24.00 0.00
Camanche Grey 6 65 2014-04-24 32.00 0.00
Camanche Grey 13 63 2014-05-05 109.06 0.00
Camanche Grey 1 59 2014-07-04 4.16 0.00
Camanche Grey 2 65 2014-08-04 5.10 -6.00
Camanche Grey 12 68 2014-10-28 55.00 -9.00
Camanche Grey 9 62 2014-12-09 110.89 -3.00
Camanche Grey 5 65 2015-01-08 61.07 -6.00
Camanche Grey 7 60 2015-01-29 12.54 -1.00
Camanche Grey 11 65 2015-04-08 15.50 -6.00
Camanche Grey 5 63 2015-04-22 36.07 -4.00
Camanche Grey 1 60 2015-07-14 4.25 0.00
Camanche Grey 9 60 2015-08-04 5.30 0.00
Camanche Grey 8 56 2016-01-22 22.67 4.00
Camanche Grey 4 52 2016-02-26 11.76 8.00
Camanche Grey 7 50 2016-03-31 4.30 10.00
Camanche Grey 8 48 2016-04-25 6.31 12.00
Camanche Grey 4 56 2016-07-12 9.50 4.00
Camanche Grey 8 47 2016-09-23 23.47 13.00
Camanche Grey 9 52 2017-06-20 114.54 8.00
Camanche Grey 1 50 2017-07-04 15.51 0.00
Camanche Grey 3 55 2017-07-20 5.29 -5.00
Camanche Grey 3 48 2017-07-29 15.51 2.00
Camanche Grey 2 47 2017-08-24 8.00 3.00
Camanche Grey 10 38 2018-01-12 17.70 12.00
Camanche Grey 2 55 2018-07-19 27.28 -5.00
Camanche Grey 3 54 2018-07-30 6.78 -4.00
Camanche Grey 1 54 2018-08-21 24.00 0.00

I have a table. I want an output result with extra new column called "profit/loss".

Here are the conditions to make that column.

1. We need to find the first row that has finish_position is 1 (for this table it is in 6th row). So this row and above rows profit/loss is 0.00
2. We need to find the first row that has diff is 10 or greater than 10 (for this table it is in 18th row). Then we need to assign profit/loss is 10 for that row. Also above rows profit/loss is 0.00
3. Then each next rows profit/loss will increase by 10 until finish_position is 1 (for this table it is in 23rd row).
4. Finally we need to do a calculation in profit/loss column in 23rd row.
Calculation Formula = (bsp for that row * 10) - (profit/loss for that row)
example = (15.51 * 10) - (60)
= 155.1 - 60
= 95.1

So in that 23rd row profit/loss column has 95.1 value. You guys can get a clear idea from below table.

sf_name finish_position official_rating date bsp diff profit/loss
Camanche Grey 11 NULL 2013-09-18 72.53 0.00 0.00
Camanche Grey 4 NULL 2013-11-08 12.50 0.00 0.00
Camanche Grey 3 NULL 2014-02-27 24.00 0.00 0.00
Camanche Grey 6 65 2014-04-24 32.00 0.00 0.00
Camanche Grey 13 63 2014-05-05 109.06 0.00 0.00
Camanche Grey 1 59 2014-07-04 4.16 0.00 0.00
Camanche Grey 2 65 2014-08-04 5.10 -6.00 0.00
Camanche Grey 12 68 2014-10-28 55.00 -9.00 0.00
Camanche Grey 9 62 2014-12-09 110.89 -3.00 0.00
Camanche Grey 5 65 2015-01-08 61.07 -6.00 0.00
Camanche Grey 7 60 2015-01-29 12.54 -1.00 0.00
Camanche Grey 11 65 2015-04-08 15.50 -6.00 0.00
Camanche Grey 5 63 2015-04-22 36.07 -4.00 0.00
Camanche Grey 1 60 2015-07-14 4.25 0.00 0.00
Camanche Grey 9 60 2015-08-04 5.30 0.00 0.00
Camanche Grey 8 56 2016-01-22 22.67 4.00 0.00
Camanche Grey 4 52 2016-02-26 11.76 8.00 0.00
Camanche Grey 7 50 2016-03-31 4.30 10.00 10.00
Camanche Grey 8 48 2016-04-25 6.31 12.00 20.00
Camanche Grey 4 56 2016-07-12 9.50 4.00 30.00
Camanche Grey 8 47 2016-09-23 23.47 13.00 40.00
Camanche Grey 9 52 2017-06-20 114.54 8.00 50.00
Camanche Grey 1 50 2017-07-04 15.51 0.00 95.51
Camanche Grey 3 55 2017-07-20 5.29 -5.00 0.00
Camanche Grey 3 48 2017-07-29 15.51 2.00 0.00
Camanche Grey 2 47 2017-08-24 8.00 3.00 0.00
Camanche Grey 10 38 2018-01-12 17.70 12.00 10.00
Camanche Grey 2 55 2018-07-19 27.28 -5.00 20.00
Camanche Grey 3 54 2018-07-30 6.78 -4.00 30.00
Camanche Grey 1 54 2018-08-21 24.00 0.00 200.00

Another calculation happened from row 27th to row 30. Because 27th row diff is greater than 12.

Here is the fiddle link : https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=f56a46b0771e02bed82dc9a6cfba0afc


Is there any Mysql select query to perform this tasks?

psqlODBC on macOS fails to build (sql.h not found) (no replies)

$
0
0
Following your instructions here: https://dev.mysql.com/doc/workbench/en/wb-migration-database-postgresql-drivers-osx.html

To convert from postgresql to mysql with workbench

xcode command line tools insalled

OSx 10.14 (mojave)
psqlodbc-07.03.0100

CFLAGS="-arch i386 -arch x86_64" make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT info.lo -MD -MP -MF ".deps/info.Tpo" \
-c -o info.lo `test -f 'info.c' || echo './'`info.c; \
then mv ".deps/info.Tpo" ".deps/info.Plo"; \
else rm -f ".deps/info.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c info.c -fno-common -DPIC -o info.lo
In file included from info.c:19:
./psqlodbc.h:41:10: fatal error: 'sql.h' file not found
#include <sql.h>
^~~~~~~
1 error generated.
make[1]: *** [info.lo] Error 1
make: *** [all] Error 2

About ".mwb" Save Format and Version Control. (no replies)

$
0
0
Hello.

I currently use git (or svn) for version control of ".mwb".
Because ".mwb" is a binary format, it is not easy to compare differences.
It also takes longer to resolve issues in case of conflict.

Is it possible to change the save format from binary format to text format?

How do you avoid this problem?
I would like to know if you have any ideas to solve this problem.

Thank you.

mysql-workbench (no replies)

$
0
0
I have a brand new mysql 8 installation on Ubuntu. I'm able to connect with a simple:
>mysql
(no parameters).
A \s indicates the connection is over socket and gives me the location of the .sock file. and other information
(e.g. Server version: 8.0.19-0ubuntu0.19.10.3 (Ubuntu)
When I try to connect to the server using mysql-workbench I get the following error:
Your connection attempt failed for user 'root' to the MySQL server at localhost:NULL
Access denied for user 'root'@'localhost'

Any suggestions? Could this be because Ubuntu is not officially supported by mysql-workbench?

Does the Workbench vault have a master password? (no replies)

$
0
0
I just installed 8.0 on Windows 10 and was able to create connections and save ssh key and database user passwords to the vault. I had expected there to be a master password that I would set to unlock the vault, but I don't see a place to set one. Now my connections are available without a password even after restarting Windows.

Am I missing some option to create a master password? It looks like the answer is no based on the documentation here: https://dev.mysql.com/doc/workbench/en/wb-mysql-connections-vault.html. If I want to remove my connections it sounds like I have to delete "C:\Users\<user>\AppData\Roaming\MySQL\Workbench\connections.xml", is that correct?

Thanks.

WB upgrade to Python 3 [2]? (no replies)


Connect to MySQL 8 from Workbench (no replies)

$
0
0
mysql Ver 8.0.19 for Linux on x86_64 (MySQL Community Server - GPL)
MySQL Workbench CE (GPL) 6.3.8 CE build 1228


Attempting to connect to MySQL within Workbench as root (as I connect traditionally) I get 'Access denied for user 'root'@'localhost''.

I've read that MySQL 5.7+ no longer allows access as root, so you need to create another account with the same privileges as such within mysql-server:


mysql> create user 'admin'@'localhost' identified by 'password';
mysql> grant all privileges on *.* to 'admin'@'localhost';
mysql> flush privileges;


This completed successfully, but again attempting to connect from within workbench I still get an error:

Failed to Connect to MySQL at localhost:3306 with user admin
Access denied for user 'admin'@'localhost' (using password: NO)

Login details below. Any guidance on how to remedy is much appreciated.

hostname: localhost
port: 3306
username: admin
password: (none)

For reference, my mysql installation sits on an external HD, though I access it without issue using the standard 'sudo mysql -u root -p' call on the command line.

Problems with latest version of MySQL workbench (no replies)

$
0
0
I am new to this so please keep it straightforward.....

I have created a Schema and then when I add a table, I dont get any fields to make columns.

If I try and save the table to the scheme is get this error message:

Executing:
CREATE TABLE `people`.`new_table` (
);

Operation failed: There was an error while applying the SQL script to the database.
ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2
SQL Statement:
CREATE TABLE `people`.`new_table` (
)

Any help greatly appreciated.

MySQL Work Bench 8.0 crashing after installing DBDoc Python Plugin (no replies)

$
0
0
Was looking to export schema and data dictionary and installed DBDoc Python Plugin on MWB 8.0 from https://github.com/rsn86/MWB-DBDocPy and now it won't open and crashes. Any help to remove the plugin would be appreciated. Not an expert in mySQL. TY in advance

Problem to connect to mysql server using mysql workbench (no replies)

$
0
0
Hello,

I'm new in Mysql workbench, I have created my database and a table but when I want to test my database connexion I receive this message:
" cannot connect to database server
Your connection attempt failed for user 'root' to mysql server at 127.0.0.1:3306 "

Where's the problem?

fail connection (no replies)

$
0
0
Hi
I am a new student in this area(MYSQL) and I have had issue with the connection between workbench and intellij(java). I have researched how to fix it but I have been unable to find an answer. When I tried to connect them. Intellij shows me an error such as:
"Cannot connect to "Connection".
The server time zone value 'Hora estándar, América Centra' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support."
But I have not been capable to change it. Can you help me with this issue.

Best regards.
Viewing all 3736 articles
Browse latest View live


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