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

EVENT names based on query (no replies)

$
0
0
How can I create a new EVENT with a dynamic name based on a query?
My intention is to send out notifications based on a date and time.
Each time a record is added to a table it should trigger to create an event which is scheduled once.
This means that an event need to be create for each record in the table and therefor requires a uniqe name e.g. notify-0001 for the first record.

Thanks for your help

Failed connection when testing connection to localhost (no replies)

$
0
0
Hello
I am a newbie in database and MySql, i have been recently learning QT (C++), and was hoping to create a database that i can query from my QT GUI, so i installed MySQL workbench . My OS is Windows 7 (64 bits) , i installed MySQL from the installer , but i'm not sure if there are some other prerequisites that i should be aware of...because i created a database "schema", but when i want to test the connection or forward engineer...i get the following error

"failed to connect to mysql at localhost:3306 with user root" - access denied for user 'root@localhost' using password "yes"

I read somewhere that it is possibly because of firewall, so i disabled it and tried again, the problem persists....

I read the reference manual of workbench, but it assumes your connection is fine as it shows you how to create database model

Would you please, guide me ....
Thank you

Which versions of MySQL with Workbench 6.0.9 connect to? (1 reply)

$
0
0
I've looked through the docs and release notes, but don't see any mention as to which versions of mysql I can conenct to with Workbench 6.0.9. I think we're on 5.5.23 and I want to make sure that I can still use 6.0.9 before I upgrade to the new version.

MySQL Workbench 6.1: Server Variables grouping (no replies)

MySQL Workbench 6.1: Performance Schema Reports (no replies)

Connecting to remote server (1 reply)

$
0
0
I can't get started at all with Workbench, because I cant get past the set up new connection page!!!

It asks for Hostname, and Username but these don't relate to my phpmyadmin settings I use with my remote hosting.

I've tried all combinations of the setting but keep getting access denied.

Any Ideas?

My phpmyadmin settings are similar to:

Server: mysql11.host.net
User: fredbloggs@111.111.111.111

Performance problem with WB 6.0.9 and Opensuse 12.3 (no replies)

$
0
0
I've installed Mysql Workbench 6.0.9 on Opensuse 12.3 but for some reason when creating for example empty project, workbench starts to slowdown and freeze. E.g I can create couple of tables without problems but if I edit columns of table, Workbench starts to slowdown and eventually comes unresponsive. When it comes unresponsive, CPU usage of mysql-workbench and xorg is 100%.

Anybody else experiening such performance problems ?

Thanks,


Some details of my setup:

- Opensuse 12.3 x64
- WB 6.0.9
- Intel i7-3612QM
- 16GB ram
- HD4000 (i915)

xorg-x11-7.6_1-7.1.1.noarch
xorg-x11-libxkbfile-32bit-7.6-9.1.2.x86_64
xorg-x11-fonts-7.6-24.1.1.noarch
xorg-x11-server-7.6_1.13.2-1.21.1.x86_64
xorg-x11-driver-input-7.6_1-5.1.1.noarch
xorg-x11-fonts-core-7.6-24.1.1.noarch
xorg-x11-driver-video-nouveau-1.0.6-2.1.1.x86_64
xorg-x11-libX11-ccache-7.6-14.1.1.noarch
xorg-x11-driver-video-radeonhd-1.3.0_20100512_80ba041-11.1.2.x86_64
xorg-scripts-1.0.1-4.1.1.noarch
xorg-x11-devel-7.6-39.1.1.noarch
xorg-x11-libXfixes-32bit-7.6_5.0-3.1.2.x86_64
xorg-x11-libs-7.6-39.1.1.noarch
xorg-sgml-doctools-1.11-4.1.1.noarch
xorg-x11-util-devel-7.6_1-4.1.1.noarch
xorg-x11-driver-video-intel-legacy-2.9.1-22.1.2.x86_64
xorg-x11-Xvnc-7.6_1.0.1-3.16.3.x86_64
xorg-x11-libs-32bit-7.6-25.1.2.x86_64
xorg-cf-files-1.0.4-5.1.1.noarch
xorg-x11-proto-devel-7.6-37.1.1.x86_64
xorg-x11-driver-video-7.6_1-8.1.1.x86_64

run MySQL Workbench on SLES 11 or openSUSE (1 reply)

$
0
0
Hi,

which version to use with SUSE distro?

Ubuntu, Fedora, Red Hat Enterprise Linux / Oracle Linux

Tried RH to no avail,

kind regards,

Toni

data between loginc (no replies)

$
0
0
Hi All,

I have table JobOrader it has 5 columns
like (jo_no, jo_type, jo_release, jo_date, jo_livedate)

Using mysql i am counting the jo_type like below

select jo_no,jo_date,jo_livedate,count(*) from joborder
where job_no='1232';

output:-
-------

|jo_no------jo_date------jo_livedate----count(*) |
|-----------------------------------------------------------|
|1232------01-dec-14----05-dec-14--------5 |
|-----------------------------------------------------------|

I want output of different of jo_date and jo_livedate is 5 day i need to generate 5 records as below ...

|--------------------------------------------------------|
|jo_no------date----------count(*) |
|1232------01-dec-14-----------5 |
|1232------02-dec-14-----------5 |
|1232------03-dec-14-----------5 |
|1232------04-dec-14-----------5 |
|1232------05-dec-14-----------5 |
|--------------------------------------------------------|

After upgrade to MySQL Workbench 6: error1406. Data too long for column (no replies)

$
0
0
Hi

I have the following situation: In my DB I have a stored procedure which copies data from one table/view to another table. Source and Target fields are identical with identical length. I executed this SP thousands of times with workbench 5.2.
Now I upgraded to workbench 6.0 and when executing the stored procedure I get at one point of time this error:
Error Code: 1406. Data too long for column 'tablename' at row 1

The target table should contain 10'000 records, the error occurs once after 8'000.

I searched for this error code but it does not make sense, because source and target fields are the same plus it worked with workbench 5.2

Any idea?

thanks

MySQL Workbench 6.1 is GA! (no replies)

$
0
0
http://mysqlworkbench.org/2014/03/mysql-workbench-6-1-4-ga-has-been-released/

http://mysqlworkbench.org/2014/03/mysql-workbench-6-1-server-variables-grouping/
http://mysqlworkbench.org/2014/03/mysql-workbench-6-1-performance-schema-reports/
http://mysqlworkbench.org/2014/01/mysql-workbench-6-1-query-result-enhancements/


WB 6.1 includes:
- Performance Dashboard
- Visual Explain
- Model (upgrade from DBDesigner)
- Query (upgrade from MySQL Query Browser)
- Admin (upgrade from MySQL Administrator)
- Migration (upgrade from MySQL Migration Toolkit)
- SSH-Tunnel

Resources:
- Downloads: http://dev.mysql.com/downloads/workbench/
- Forums: http://forums.mysql.com/index.php?152
- Blogs: http://mysqlworkbench.org/

MySQL Workbench 6.1: Performance Dashboard, Visual Explain (no replies)

firebird to mysql using workbench (1 reply)

$
0
0
Trying to migrate form Firebird to MySql using Workbench 6.1 on a XP box.

FireBird ODBC = Firebird/Interbase() version 2.00.02.153
MySql ODBC = MySql ODBC 5.1 Driver version 5.01.8.00

Wuen testing connection, on Windows ODBC Administrator, both connect with sucsses.

At MySql Workbench Migration Wizard:

Source RDMS Connection Parameters
System Database : Generic RDBMS
COnnection Method : ODBC Data Sourc
DNS: points to firebird ODBC
user SYSDBS passwd masterky (defined at ODBC Administrator level)
If conecction is tested it comes out ok again

Traget RDMS Parameters
Stored connection : Local Instance MySql
Connection Method : Standard (TCP/IP)
Hostname: Localhost
Port : 3306
Username : root
If conecction is tested it turns out ok

If I start the migration clicking next software goes to Fetch Schema List screen

On this screen both connect to Source RDMS and Target RDMS check as ok

Retrive schema list from source check as NOT OK

Follows log msg:

Starting...
Connect to source DBMS...
- Connecting to source...
Connecting to ...
Opening ODBC connection to DSN=firebirdodbc...
Connected
Connect to source DBMS done
Check target DBMS connection...
- Connecting to target...
Check target DBMS connection done
Retrieve schema list from source....
- Checking connection...
Connection to apparently lost, reconnecting...
Connecting to ...
Opening ODBC connection to DSN=firebirdodbc...
Connected
- Fetching catalog names...
- Fetching schema names...
- Fetching schema names from
Traceback (most recent call last):
File "C:\Arquivos de programas\MySQL\MySQL Workbench 6.1 CE\modules\db_generic_re_grt.py", line 719, in getSchemaNames
return GenericReverseEngineering.getSchemaNames(connection, catalog_name)
File "C:\Arquivos de programas\MySQL\MySQL Workbench 6.1 CE\modules\db_generic_re_grt.py", line 200, in getSchemaNames
return list(set(row[1] for row in cls.get_connection(connection).cursor().tables(catalog=catalog_name)))
TypeError: argument 2 must be string without null bytes, not str

Traceback (most recent call last):
File "C:\Arquivos de programas\MySQL\MySQL Workbench 6.1 CE\workbench\wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "C:\Arquivos de programas\MySQL\MySQL Workbench 6.1 CE\modules\migration_source_selection.py", line 439, in task_fetch_schemata
self.main.plan.migrationSource.doFetchSchemaNames(only_these_catalogs)
File "C:\Arquivos de programas\MySQL\MySQL Workbench 6.1 CE\modules\migration.py", line 253, in doFetchSchemaNames
schema_names = self.getSchemaNames(catalog)
File "C:\Arquivos de programas\MySQL\MySQL Workbench 6.1 CE\modules\migration.py", line 208, in getSchemaNames
return self._rev_eng_module.getSchemaNames(self.connection, catalog or '')
SystemError: TypeError("argument 2 must be string without null bytes, not str"): error calling Python module function DbGenericRE.getSchemaNames
ERROR: Retrieve schema list from source: TypeError("argument 2 must be string without null bytes, not str"): error calling Python module function DbGenericRE.getSchemaNames
Failed

Any help is weelcome as I'm in a tight spot

Best regards

Workbench 6.1 ... stoopid noob question (2 replies)

$
0
0
Downloaded and installed; but when I try to start the system, I get an error about the connection being refused. What am I missing?

Connection issue in latest 6.13/6.14 (2 replies)

$
0
0
I found that the latest 2 versions (6.13, 6.14) cannot connect to my MySQL server (5.0.26) in a stable way. It very often reported Lost Connection or Connection has been closed when a query is submitted.

When I fallback to 6.12, however, everything is stable again.

How can i solve this error on MySQL Workbench 6.1: "Runtime Error: Unable to execute command chcp"? (1 reply)

$
0
0
I just installed MySQL workbench 6.1 on my win7 64 bit system. I successfully created and tested a MySQL connection. However, each time i open the SQL editor for this connection and select server status, I get the following errors:

(1) Runtime Exception: Unable to execute command chcp. Please make sure that C:\Windows\System32 directory is in your PATH environment variables

(2) Unhandled exception: current profile has no WMI enabled.

I will be grateful if someone can help resolve this issue. Thanks.

"Generate Catalog Diff Report" Not in the Menu (2 replies)

Phpmyadmin noob: show complete field when editing (no replies)

$
0
0
Migrating from phpmyadmin,I see you can show a table's data and can double click a field to edit it. But is there a way to show a single record's data in a larger view where you can see the full contents of each field, esp. A large text field?

Bookmarks misisng in Workbench? (1 reply)

$
0
0
I've decided that the time has come to move from Query Browser to Workbench, I've put it off for long enough. But one of the first things I noticed, is that there doesn't appear to be a 'Bookmarks' menu where I can save useful queies. I use this feature in query browser almost hourly.

Am I right that this key feature is missing, or is it just me that can't see it?

safe update error even with key column in WHERE (no replies)

$
0
0
I get the 1175 error message about Safe Updates even when I use a key column in the WHERE clause.
What am I doing wrong?

I know about how to turn safe updates off (a preference then reconnect).
But I want to understand why this error is being issued.

MySQL Workbench 6.0
mysql 5.5.34

> QUERY:
update authorization as at
join person as pt on at.personid = pt.person_id
join titles as tt on pt.titleid = tt.title_id
set action_approve=0, action_reports=0
where title like 'AEC%' and at.auth_id > 110 and at.personid < 1200

> ERROR
Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Queries and reconnect.

> THE TABLE BEING UPDATED
CREATE TABLE `authorization` (
`auth_id` int(11) NOT NULL AUTO_INCREMENT,
`personid` int(11) NOT NULL,
`pwstring` varchar(30) NOT NULL COMMENT 'password',
`must_change_pw` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'true when user is required to change password at next login',
`action_view` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'user may view documents',
`action_reports` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'user may see and submit ec-dec reports',
`action_approve` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'user may approve new applicant users',
`action_master` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'user may do any action',
`authorization_time` datetime NOT NULL COMMENT 'time of application, then approval',
`approver` int(11) NOT NULL COMMENT 'recnum for approver',
`inactive` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'This member is inactive.',
`actstatchanged` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'last date the active/ inactive status was changed',
`pwsalt` char(16) CHARACTER SET utf8 NOT NULL DEFAULT '0' COMMENT 'salt for hashing password',
`pwhash` binary(64) NOT NULL DEFAULT '0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0' COMMENT 'hashed password',
PRIMARY KEY (`auth_id`),
KEY `fk_person` (`personid`),
CONSTRAINT `authorization_ibfk_4` FOREIGN KEY (`personid`) REFERENCES `person` (`person_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1243 DEFAULT CHARSET=latin1 COMMENT='authorization details for persons';
Viewing all 3736 articles
Browse latest View live


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