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

Sending result to application (no replies)

$
0
0
I would like to more or less automatically send the resultset from a query in MySql Workbench to a visualisation application as soon as the query has finished.
Is this possible?
If so, how is it done?
Thanks in advance for any tip
H

MySQL Workbench on Ubuntu 18.04!! Help!! (1 reply)

$
0
0
Hi,
i have to install MYSQL Workbench on a Ubuntu 18.04 but there isn't an installer on the official website (there are only for Ubuntu 16.04 and Ubuntu 17.10).
How can i install this software on Ubuntu 18.04?
I tried to do this with a .deb found in internet but i got this error:

root@christian-ubuntu17-10:/home/christian/Scrivania# mysql-workbench
terminate called after throwing an instance of 'Glib::FileError'
Aborted (core dumped)

So i think this is not the right package.
Please, can someone help me?
Christian

MySQL Workbench 8.0.11rc SSL connection error: error:00000001:lib(0):func(0):reason(1) (1 reply)

$
0
0
Good Morning Everyone!

I'm trying to connect to MySQL server 8.0.11 using MySQL Workbench 8.0.11rc but I get the obscure error message:

SSL connection error:
error:00000001:lib(0):func(0):reason(1)

MySQL server is setup to require secure transport using caching_sha2_password. In my create user statement I'm using REQUIRE ISSUER '/CN=CACOMMONNAME' AND SUBJECT '/C=COUNTRY/ST=STATE/L=LOCALITY/O=ORGANIZATION/OU=ORGANIZATIONALUNIT/CN=CLIENTCERTCOMMONNAME

The connection works if I downgrade the user to REQUIRE SSL on the server. I then delete the client certificate paths from MySQL workbench and select REQUIRE or REQUIRE AND VERIFY CA from the dropdown box. Test connection and voila! I get a valid response.

However, this isn't good enough. I'd rather have the additional security checks but I seem to be at a stand still. What do I do to get this to work using the client certs in Workbench and REQUIRE ISSUER/SUBJECT on the server? What does this message mean? There are no error messages or hints in the log files on the client or server.

The only thing I see in the log files that could indicate a possible problem are the lines:
10:09:19 [WRN][ grt]: C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules/data/mysql_rdbms_info.xml:1391: link 'om.mysql.rdbms.mysql.driver.native_sshtun' <object > key=owner could not be resolved
10:09:19 [WRN][ grt]: C:\Users\username\AppData\Roaming\MySQL\Workbench\connections.xml:28: link '{261A5FC8-8C94-45E3-B003-2C575F2336B9}' <object GrtObject> key=owner could not be resolved

What does 'key=owner could not be resolved' mean?

new installation - "not enough privileges to execute select (no replies)

$
0
0
I installed MYSQL Installaer and Workbench today. I can access my database. But accessing the User and Privileges tab results in an error: The account that you are currently using does not have sufficient privileges to make changesto My SQL Users and privileges - but (?) I am the only user
What do I need to do ?, Thanks, Walter

Closed SQL Code Tab (no replies)

$
0
0
Hi,

I was working on a database assignment. I uploaded my code to the server and it created a schema. I can makes queries, but I don't know how to get back to the tab to show where the code of the entire database is. Can someone help

Workbench crashes on startup (no replies)

$
0
0
Since upgrading to Server 8, I have been trying to get Workbench 8 to work. With both 8.0.11 and 8.0.12, it fails at startup with an access violation in python27.dll. Falling back to Workbench 6.3 works. Any ideas?

MySQL Workbench 8.0.12 is GA (no replies)

mysql import csv list index out of range (3 replies)

$
0
0
hi all, i'm new to mysql and hope you guys can help me.
i'm converting my old foxpro database to mysql, and i just convert .dbf to .csv, while i'm using mysql's import wizard, it pop out this error message:
unhanded exception: list index out of range.
does that mean my csv file is not valid? but i checked is all normal.
thank you.

LOAD DATA LOCAL INFILE (no replies)

$
0
0
As part of a Lynda course, I have been trying to do an import of some data using the following script:

LOAD DATA LOCAL INFILE 'C:\\FILENAME.csv'
INTO TABLE pop_proj
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 LINES;

I keep getting the same error message:
Code: 1148. The used command is not allowed with this MySQL version 0.000 sec

Any help would be much appreciated!

Workbench 8.0.12 no longer recognises ppk SSH key files (no replies)

$
0
0
WB 8.0.12 13312926 on Windows 7 (64-bit).

Most of my MySQL connections are over SSH tunnels. I have a private key in .ppk format, with Pageant running as a key agent. On 6.3.10 this works without problems.

In 8.0.12 it seems that only .pem SSH keys are recognised, and Pageant therefore doesn't get involved.

Upgraded to MySQL 8. Workbench still trying to use version 5.6 (no replies)

$
0
0
Greetings,

So I upgraded from MySQL 5.6.34 to MySQL 8.0 and Workbench 6.3->8.0

I noticed a few things when I click on server status (left navigation bar) after creating a new instance. I see this info....

host: JP
socket: mysql
port: 8889

version: 5.634-log
MySQL Community Server(GPL)

Configuration File: c:\ProgramFiles\MySQL\MySQL Server5.0\my.ini


The version and configuration file is wrong.

So I click on the wrench (next to instance) which gives me the manage server connections. I click on the tab System profile and adjust the 'Installation type' and the 'configuration file'


After making these adjustments, I refresh my server connection and look again at the info and I see this now

version: 5.634-log
MySQL Community Server(GPL)

Configuration File: c:\ProgramFiles\MySQL\MySQL Server8.0\my.ini


So I successfully changed the configuration file to the right path.

However, I have no clue how to change the version. It keeps showing MySQL 5.6.

This is the error when I try to hook up to the database

"Failedto connect to MySQL: (2003) Can't connect to MySQL server on 'localhost' (10061)"

Im assuming its because MySQL workbench 8 is trying to use MySQL 5.6 instead of 8.0

So how do I change this???
Any help would be much appreciated

Model Syncronization and Generated fields (no replies)

$
0
0
Hi,
I am experiencing an issue since upgrading workbench to version 8. When synchronizing a table that contains generated fields is always selected for syncronization, and thus recalculation. This table may contain many millions of records and thus the process takes an extremely long time, and lock the table in question too.
Right now I just ignore the table when doing a sync, however this is not a viable long term approach. In the prior version of the workbench this table was not selected for alteration.

the denerated alter statement is as follows:-
ALTER TABLE `db6`.`address`
CHANGE COLUMN `Valid8` `Valid8` TINYINT(1) GENERATED ALWAYS AS (case when ValidState in(8,9) then 1 else 0 END) STORED ,
CHANGE COLUMN `Valid3` `Valid3` TINYINT(1) GENERATED ALWAYS AS (case when ValidState = 3 then 1 else 0 END) STORED ,
CHANGE COLUMN `Valid_tFail` `Valid_tFail` TINYINT(1) GENERATED ALWAYS AS (case when ValidState in(0,4,5) then 1 else 0 END) STORED ,
CHANGE COLUMN `Valid_nVer` `Valid_nVer` TINYINT(1) GENERATED ALWAYS AS (case when ValidState in(6,7) then 1 else 0 END) STORED ,
CHANGE COLUMN `Valid_UT` `Valid_UT` TINYINT(1) GENERATED ALWAYS AS (case when ValidState = 99 then 1 else 0 END) STORED

I hope I am missing something relatively silly,
Thanks in advance for any guidance
-Allen

MW doesn't show all schema's in database and I can't connect to one (no replies)

$
0
0
Hello,

Besides the default schema, I have a database on linux dB server with 3 schema's, let say schema:
- opt
_schemename
_schemaname_2
- test

If I log in with phpmyadmin I see all the three schema's and can work with it.
If I in phpmyAdmin execute 'show databases', all three are returned correctly.

I can connect with MW to opt_schemaname and test. But I can't make connection with MW to opt_schemaname_2? (The error message is "Cannot Connect to Database Server")

For sounds this strange, because I can make a connection to the two other schema's.
What do I wrong or what do I miss? I hope that someone can help me out.

Regards,

Nico

Workbench 8.0.12 result grid disappears (no replies)

$
0
0
The result grid routinely disappears and the only solution is to restart Workbenc (not just reconnect to a server). It happens with 8.0.11 rc and 8.0.12 (can't backtrack to 6.3.10 due to user authentication incompatibility). Seen this reported in stackoverflow as well. I am doing some merging of databases, so I'm bringing up the table maintenance as well as querying. After looking at tables and perhaps modifying column descriptions or default values, a query says that it returns rows but the result grid never shows up in the bottom of the query panel. I am using Windows 64-bit, moved to MySQL 8.0 recently (from 5.7) and I started getting the errors. This is a home system, not the production one.

Accidentally delete a database and try to undo the action (no replies)

$
0
0
Hi all,
I am using Mysql workbench 6.3 CE.
Accidentally deleted a database and try to undo the action.
Using ROLLBACK; right after the command but it does not work.
Is there any other ways to reverse the action?
Thanks alot!!!

Can I import a csv file with this product? (1 reply)

$
0
0
I attempted to import a csv file that came out of SQL Server but it says I have an error in my SQL syntax. There should be no SQL syntax because it is a csv file. Do you not handle that file type and if no any suggestions on what product to use? I am unable to get phpmyadmin to run but I know it does importing. Unfortunatley that's not an option since I cannot get it to run

How to easily see Response column SQL error? (no replies)

$
0
0
The error shows in the row response at the bottom, but it's hard to read usually because it's too long, and the column only expands so far.

I can right-click it and select Copy Row, but I really just want to copy the field the error is in... is that possible?

MySQL Workbench only importing partial csv file (no replies)

$
0
0
Hello! I have four .csv files that I am trying to upload into the Dev Sandbox on MySQLWorkbench. The first three files uploaded fully and successfully, but the last one is being finicky. I looked online and it is recommended to save excel files as MS-DOS Comma Separated as the .csv version. That is how I saved each file. Then on MySQLWorkbench, I click on the Sandbox schema and use the Table Data Import Wizard. I select the csv I want to upload, and use utf-8 as the encoding.

Background2 - 325 rows in excel file : 325 rows in MySQL table after import

Utilization - 325 rows in excel file : 325 rows in MySQL table after import

Room Description - 764 rows in excel file : 764 rows in MySQL table after import

Demo - 266 rows in excel file : 20 rows in MySQL table after import

There are three excel/csv saved files that imported correctly, but the Demographic file only imports 20 of the 266 rows. I’ve tried saving the csv file using different csv versions, I’ve tried saving it as an .sql file and importing it that way (which only gives me an error). I’ve copied the contents of the excel file and used “Paste Special” to only paste the values since I figured there might be a format issue, then saved it and tried to import that version. But no matter what I do, each new excel or csv or sql file I create has those 266 rows, but MySQL still only imports 20.

I have attached all 4 csv files to this ticket. There doesn’t seem to be anything different in the format of the 4th file that would make only 20 of the rows get imported.

Any ideas on what is going on, or how I can resolve this issue? I am asking on behalf of another user, and will try to answer any questions to the best of my ability.

Thanks!

How to connect to a remote mysql server (2 replies)

$
0
0
How to connect to a remote mysql server?

Unable to establish working my.cnf on MySQL 8 (no replies)

$
0
0
I'm on Mac OS X 10.13.6. I had a devil of a time getting a working my.cnf file on MySQL 5.7, but was eventually able to do it using MySQLWorkbench.

Sadly, that's no longer an option as touching pretty much anything in Options File of MySQLWorkbench 8.0.12 results in "Unhandled exception: 'Box' object has no attribute 'cfg_be'".

From the wailing & gnashing of teeth in my online searches, I've managed to extract a few non-working tips: change owner of my.cnf to _mysql; make sure it isn't world-readable.

The mere presence of /etc/my.cnf causes my community server (also 8.0.12) to fail to start (in the Preference pane it flashes green then goes red; if I remove the offending my.cnf file it switches to green w/o me even needing to restart the server).

Any tips? I mean, just getting past the new MySQLWorkbench bug would probably get me there, if I can remember how I got it working w/the Workbench in 5.7.

Many thanks in advance!
Viewing all 3736 articles
Browse latest View live


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