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

Workbench hangs on loading a query .sql file (no replies)

$
0
0
Hi,

Every time I try to load a .sql file into the query page workbench hangs.

Help Please! (no replies)

$
0
0
Ok, I am new to Workbench, and I am going nuts. I am trying to connect to a MySql database, and keep getting a tunnel connection error. Double checked that ports are open, address and password are correct and sa cert is correct. Still no luck, any help would be appreciated!

How to get results from multple queries into one table in MySQL stored procedure (2 replies)

$
0
0
I have the queries below in one stored procedure and want to put the results of those queries into one tmp table. How do I do that?

Here is some of my MySQL Select queries. These queries are originally pretty long so I scaled them down considerably:

CREATE DEFINER=`server`@`%` PROCEDURE `GetMonthlyRate`()
BEGIN

SELECT HA.ActualWeight, HA.ServiceDate
FROM Hauler HA
Left Join CoreContentType CCT ON OH.CoreContentTypeID =
CCT.CoreContentTypeID
WHERE HA.RecordDisabled = 0 AND
CCT.CoreContentTypeCategoryID = 1;




SELECT OH.ActualWeight, OH.IsRecycleContaminated,
OH.RecycleContaminationPercent, OH.RecycleRebatePercent,
OH.CoreContentTypeID, OH.ServiceDate
FROM OperationsHaul OH
Left Join CoreContentType CCT ON OH.CoreContentTypeID =
CCT.CoreContentTypeID
WHERE OH.RecordDisabled = 0 AND
CCT.CoreContentTypeCategoryID = 1;



SELECT OP.ActualWeight, OP.IsRecycleContaminated,
OH.RecycleContaminationPercent,
FROM Operations OP
Left Join CoreContentType CCT ON OH.CoreContentTypeID =
CCT.CoreContentTypeID
WHERE OP.RecordDisabled = 1 AND
CCT.CoreContentTypeCategoryID = 1;

END

Would this be a CREATE TABLE/INSERT??

Export Again functionality should do what it says (no replies)

$
0
0
The "Export Again" button/feature is located under MySQL Workbench > Data Export > Export Progress > Export Again.

If you select "Export to Self-Contained File" under Export Options you will provide a path to the destination file.

>> C:\path\file.sql

If you now export your database and would like to use the "Export Again" button you would expect that MySQL Workbench exports your data to the same file as selected earlier, right?

But instead of that, MySQL Workbench exports your data to the default "Export Directory Path", configured in the Preferences.

>> C:\defaultpath\whereever\Dump123456789-1.sql

For my understanding that's not what "Export Again" should do at all.

Load Data Local - command not allowed... (no replies)

$
0
0
I can get the load data local command to work finn on the mysql.exe command line (using the --local-infile=1 parameter.) I cannot get the command to work in MySQLWorkbench. Global varialbe local-infile is "ON". using MySQLWorkbench version 8.0. Doesn't matter which MySQL instance I am connected to...on local workstation or server. Any ideas? THANKS

Migration using Mysql Workbench (no replies)

$
0
0
Hi,
Does Mysql Workbench version 8 support migration from Oracle11g to Mysql8 ?
Thanks

Queries returning 0 even though data exists (2 replies)

$
0
0
Hello everyone,

I'm running workbench 6.3.10 and running MySQL 5.7.21. I'm having an issue where my queryies in workbench are returning a value of 0 but MySQL CLI returns with no issues. I wasn't having an issue before when my table was around 80k rows, now that my table has expanded to 230K it no longer will return anything in workbench.

I've used "SELECT * FROM table" and "SELECT * FROM table WHERE id = 1". Neither command working in workbench, but both work in CLI.

Workbench not installing (no replies)

$
0
0
Hi,

I have installed mySQL from the web for windows 32x and all was installed but the workbench do not install.

Any advice on how to get the workbench installed. I get directed to the same download even if i try to down load the stand alone.

The option to install download do not appear in the option list.

I'm using windows 8.1 pro.

Thanks

Importing CSV with NULL values to a Table (no replies)

$
0
0
I am using the "Table Data Import Wizard" to input a csv file containing columns of number data.
Some cells are NULL, and have in them the characters NULL.
When I start the wizard all the "Field Types" are given as "text", and I can see the NULL entries in the preview pane.
I then change them to "int" or "double". and
I have the "Encoding" at utf-8.
I then run through the rest of the wizard.
The imported data no longer has the NULL data, all the rows with any NULL values were dropped.

If I import with all the "Fields Types" set to "text" I get all the rows, but then I can't treat the values as numbers for operations in MySQL, correct?

I tried changing the "Field Types" to "int" or "double" after importing as "text" but was greeted with errors:
ALTER TABLE tablename MODIFY columnname INTEGER;
Error Code: 1265. Data truncated for column 'columnname' at row 1 0.024 sec

Any ideas as to what I should do?
Thanks

Workbench goes to "NOT RESPONDING" (no replies)

$
0
0
We have workbench version 6.3.4 . Workbench goes to NOT Responding everytime, I login to a particular ubuntu server SQL DB. But, works good for the other server mysql DB

How do I troubleshoot this? Where to start with? One thing is, the DB which is having the issue has lot of tables (More than 2000 ). Could this be the reason?


Please guide me to find answers for this. Please let me know if I need to provide any other information.

Thank you

too many connection errors (no replies)

$
0
0
mySQL db is located in a bluehost shared server. I was able to connect with MYSQL workbench last week. Now i'm getting this error message: my ip address "is blocked because of many connection errors." Unblock with flush hosts;

When i access phpMyAdmin in bluehost, and flush hosts, i get this message:
you need (at least one of) the RELOAD privilege(s) for this operation

when i try this: GRANT RELOAD ON *.* TO 'your_user'@'localhost,
Access Denied.

FYI, i'm self-taught programmer and this MySQL database stores info for my non-profit organization, where i am a volunteer.

Python print statement not working in script shell screen (no replies)

$
0
0
Dear All,


The print or any command like dir(grt) or help(grt) were not
displaying anything.

In the wb log file we saw no error andthe python context in DB3 level log
reported correctly the expected result of the statement.

The python Connector is 2.7 8.0.11 in the MySQL Installer.
2.7.12 (default, Sep 7 2016, 08:55:58) [MSC v.1900 64 bit (AMD64)]

My Os is Window7

Can anybody help I would appreciate.

Best regards

MSSQL to MYSQL STORED PROCEDURED MIGRATION (no replies)

$
0
0
Hello all,

I need some help finding and calling my migrated stored procedures. I used the Migration Wizard to migrate from SQL server to Mysql. Even though the migration report shows that 6 procedures have been migrated but I cannot see them under stored procedures or call them through a new query.

Does anyone know about this?

Thank you much

I can not work or configure tables with MySQL WorkBench (no replies)

$
0
0
I am remotely connecting to a hosting, I install MySQLWorkBech, version 6.3.10 x64, there is no problem in the installation, I connect to the hosting I recover the database, but when I modify a table or register or new table, first I it appears disabled where to add the fields, it does not allow to add fields and if I use another tool it works for me.

regards

Problems with libsigc-2.0.so.0 (no replies)

$
0
0
Hello, newcomer here.
I'm trying to install the Workbench on my Ubuntu 18.04, and actually I've tried different ways a lots of times, but I always get stucked when I try to launch it.
When I try to run using the terminal, i got the following messenge:

fernando@fernando-TWJ:~$ mysql-workbench
/usr/lib/mysql-workbench/mysql-workbench-bin: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory

I've searched A LOT for this lib, but I just can't find it. Already installed libsigc++-2.0-0v5, libsigc++-2.0-dev and libsigc++-2.0-doc (I've found then using apt-cache search), with no results, thought.

May anyone help me, please?
Thank you!

How to get SSL Certifications? (no replies)

$
0
0
so i have a database and table, and i want to connect it to my visual studios program, but i need to enable remote connections. so i go to edit connections in the mysql workbench home page and the remote connections section is faded out so i figure i need to have my SSL setup first. but i have n o idea how to do that

My Questions: Do i need an SSL Certificate to enable remote connections to my database? How do i get my SSl Certification (even if i dont need it for remote connections)?

i tried getting a self-signed certification but i could only find information involving Microsoft SQL

Persisting ODBC Driver Error (no replies)

$
0
0
Greetings.

Context:MySQL Community Server - GPL V.8.0.11, Windows 10, 64 bit OS.
ODBC Drivers currently installed: MySQL ODBC 3.51 & 5.1.

I have downloaded Connector 8.0.11 but, despite all efforts including the 32bit/64bit paradox, it does not appear in my list of drivers (3.51 & 5.1 do).
All attempted connections are local.

I am seeking to create an ODBC connection between my ALTOVA Mobile Together Designer page source (data access) function and my locally installed MySQL database. Both the ALTOVA application and the MySQL databases operate correctly.

THE PROBLEM: When I use the standard ODBC connection wizard and complete the required data entries (source name, location, username/password etc.) I receive the following error message (quoted here in full):

"Connection failed: [HY000] [MySQL] [ODBC Driver3.51] Authentication plugin 'caching_sha_password' cannot be loaded: The specified module could not be found."

Having researched the problem online extensively, I can see that it is a very old problem commented on many times by authoritative people. However, none of the fixes proposed work in my case and I am loathe to fool around with system config parameters and SSL. Whatever security/password configuration item I change in MySQL (such as changing the applicable user password type to SHA-256 or 'Standard' for example) fail. I also do not have access to some files such as possibly related .ini files.

Surely there is a more accessible solution to this problem by now which can be addressed at the application layer as opposed to having to possess sysadmin skills to lift the hood and use a micrometer.

Assistance would be most appreciated.

Thank you.

Result Grid (no replies)

$
0
0
I was wondering why if I have the primary key of a table set to auto increment, why i can just enter data in the result grid and hit enter to save the record. I'm not clear as how you would enter records manually. Thanks !

MYSQL 8.0.11 window functions - error or bug? (no replies)

$
0
0
I've working on MYSQL 8.0.11 and testing window functions but getting what I think is an unexpected error via workbench.

SELECT AVG(Volume) OVER (PARTITION BY `Security` ORDER BY DateValue ROWS 19 PRECEDING) AS MAV20
FROM t_EOD_Dly;

In workbenches query window at the Over( I am getting Syntax error: Unexpected '(' (opening parenthesis)

To my best knowledge, brackets are correct. The SQL statement executes correctly with a green tick in the output window.

Interestingly when I drop the same SQL into a stored procedure it won't apply and generates The object's DDL statement contains syntax errors. when attempting to do so.



Is this a bug in build 8.0.11 or am i missing something really simple?

mysqldump tool doesn't seem to work from Workbench (no replies)

$
0
0
I'm trying to copy a database from one machine to another. When I tried using the Export command, I got this error.

"Could not get mysqldump version"

"Workbench was unable to get mysqldump version. Please verify the log for more information".
Viewing all 3737 articles
Browse latest View live


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