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

Migrate Privileges from one server to another (3 replies)

$
0
0
I can move the databases but need to mve the privileges as well. Can I do this with Workbench?

Regards
Pete

MySQL workbench & windows 8.1 (3 replies)

$
0
0
Have a brand new Windows 8.1 laptop I am using for work and have been receiving BSOD screens often while working -- the link to these crashes seems to be when I am running MySQL workbench (5.2 CE)

*I have not upgraded to 6.0 or 6.1 as our remote dB's are 5.0 and not all features are available in the new WB. I can go this route if i need to however.

My main concern& question is -- is this version of WB, or really any WB, compatible with MS Windows 8.1?
ps. it is a 64-bit operating system

Database Synchronize always out of Synch (9 replies)

$
0
0
I have a live Database that I built with MySQL Workbench 6.0 (I just upgraded to the latest version) a number of months ago. While I was able to get the synchronize (Me->DB) working in the past, it was always updating the same routines again and again, even when there weren't any changes. I overlooked this since there were no errors and the rest of the synchronization worked.

Now, I can't have it synchronize without the need for me to manually delete routine after routine - and this process takes forever as it'll sit on "fetching triggers" for ~1 minute or so with each synch. Note it's getting stuck on thinking it needs to update routines that have been there for months. I have NO idea why this is happening (note I've always used the same base model).

There aren't any "errors" other than things being out of synch, and my client-side model is the "master". The problem I have now is I don't know how to synch things. I did a reverse synch to a new model and most of the routines were missing - even though they are in the live the database! So not sure what's going on.

Any recommendations on how to resolve this synchronization issue?

Error Geting Thread Stack (no replies)

$
0
0
Hi all,

We are trying to identify the sentences executed in a thread. I am uing the MySQL Workbench Comertial 6.1.6.

We are trying to use the functionality included on the Client Connections of "View Thread Stack", (we have installed the sys schema throught the Workbench)

For some thread we could gather information, but for other report "Error Getting Thread Stack" "The thread stack for thread **** can´t be loaded, please check if your sys schame is properly installed and available" "Invalid control character at: line 1 column 3072 (char 3072)"

I try to execute the function form the mysql but I gaher a single line:
mysql> SELECT sys.ps_thread_stack(166478, FALSE) AS thread_stack \G
*************************** 1. row ***************************
thread_stack: {"rankdir": "LR","nodesep": "0.10","stack_created": "2014-06-05 12:32:03","mysql_version": "5.6.18-enterprise-commercial-advanced-log","mysql_user": "root@localhost","events": []}
1 row in set (0.06 sec)

I am a new baby in the MySQL world, please, any one could me clarify if this it is a "feature" or a "bug", and if there is another way to identify the sentences executed by a thread.

Thank you in advance, best regards

Blessed are the gentle (no replies)

$
0
0
Blessed are those who mourn, for they shall be comforted. Blessed are the gentle, for they shall inherit the earth Blessed are those who hunger and thirst for righteousness for they shall be satisfied

support.touch.com/entries/72105856
support.touch.com/entries/71958516
support.touch.com/entries/70666243
support.touch.com/entries/71636048

UTF-16 on Linux Workbench - how? (3 replies)

$
0
0
I've searched many sites, but cannot find out how to properly display UTF-16/UCS-2 fields in query results viewer on Linux.

I have a field defined as follows:

'UCS2Field' VARCHAR(100) CHARACTER SET 'ucs2' COLLATE 'ucs2_unicode_ci' NOT NULL

and in query results the contents of this field is displayed incorrectly. I tried to change fonts and to do some conversions to UTF-8 like that:

SELECT CONVERT( UCS2Field USING utf8) FROM table

but to no avail. The binary editor shows that the characters in this field stored as they should be in MySql: as big-endian two byte values. Is Workbench on Linux capable to display UCS2 correctly?

QuantumDB plugin for Eclipse displays this field just fine after selecting the option "UTF-16 encoding".

Upgrade 5.5 to 5.6 (no replies)

$
0
0
Hi,

I have some problem after upgrade from 5.5 to 5.6.

Strange thing....

After upgrade, in Mysql Workbench 6.1 in "Performance Reports" I have only few report. Only Database schema statistics and InnoDB Statistics.

When I install fresh instance 5.6 where are a lot of performance reports...
Hot spot IO, Hight Cost SQL Statement, Wait Event Times and so on...
I dont know where is problem.

Brumia

tables could not be fetched (no replies)

$
0
0
Is there a time limit on how long Workbench (6.1.6) waits before when loading the schema before declaring 'tables could not be fetched'.

I am in the process of moving my connections from Query Browser to Workbench, but having loaded the connections for our remote site, I am getting the above query whenever I load the schema. This also applies to Views/Procedures/Functions.

The connection is slow by virtue of the Database being in another country, however Query Browser never had any issues displaying the tables.

I can still run queries OK if I type them in.

It is just starnge that I can't see any tables?

Workbench can’t display file name which with Chinese (1 reply)

$
0
0
if file name contains Chinese characters, it display a square instead

Can't compile Workbench under Ubuntu 14.04 LTS (AMD_64) (1 reply)

$
0
0
Hi all,

I've been trying to install Workbench 6.1.6 from source on Ubuntu Linux 14.04 LTS on an AMD_64 machine, but I keep getting the error at the bottom of this post. The problem appears to stem from the compiler not finding a VSQLite-- file, result.hpp.

I have been modifying my .bashrc (again, see relevant lines below) but I'm just blindly adding directories to $PATH, $LD_LIBRARY_PATH and $LD_RUN_PATH.

Here's m cmake command
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=DCMAKE_INSTALL_PREFIX:PATH=/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir/in -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc -DVSQLITE_INCLUDE_DIR=/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir/in


Could anybody tell me what I'm doing wrong and where to place which particular directory in which particular environmental variable. An explanation of what's going on would also be gratfully received.


TIA and rgs,

Paul...


===== current contents of .bashrc (relevant bits) =========

export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/lib:$PATH
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/include/sqlite:$PATH
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite:$PATH

export LD_LIBRARY_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/include/sqlite:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite:$PATH
export LD_RUN_PATH=/home/pol/Downloads/c_cpp/workbench/sqlite/sqlite-autoconf-3080500/instdir/lib:$LD_RUN_PATH
export LD_RUN_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite

===== Running make install - it gets to 45% and then fails===

[ 45%] Building CXX object backend/wbpublic/CMakeFiles/wbpublic.dir/grtdb/diff_dbobjectmatch.cpp.o
In file included from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./grtsqlparser/sql_specifics.h:26:0,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./grtsqlparser/sql_facade.h:31,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/grtdb/diff_dbobjectmatch.h:28,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/grtdb/diff_dbobjectmatch.cpp:31:
/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./sqlide/sqlide_generics.h:25:29: fatal error: sqlite/result.hpp: No such file or directory
#include <sqlite/result.hpp>
^
compilation terminated.
make[2]: *** [backend/wbpublic/CMakeFiles/wbpublic.dir/grtdb/diff_dbobjectmatch.cpp.o] Error 1
make[1]: *** [backend/wbpublic/CMakeFiles/wbpublic.dir/all] Error 2
make: *** [all] Error 2
pol@Pol-laptop:~/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir$

My MWB file keeps getting corrupted (1 reply)

$
0
0
Every so often when I open the model file, my mysqlworkbench frezzes up on my 10.9.3 mac. To fix this, I have to regenerate it from the SQL file. Is there any log file I can look at to see what the heck is going on?

Let me know if you want to have a look at the corrupted file.

Can't install Performance Schema helper schema (sys) (1 reply)

$
0
0
I'm using MySQL 5.6.17 on Mac OS X 10.9.3 with MySQL Workbench 6.1.6. If I click on "Performance Reports" or "Performance Schema Setup", I get a message stating "The Performance Schema helper schema (sys) is not installed". I click the "Install Helper" button and I get the following message:

Error installing sys Schema.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

However, since I'm using root, with all permissions assigned to root that I've ever seen or heard of, I'm not sure what to do from this point.

Any suggestions?

Thanks,
- Andrew.

2014: commands out of sync while FWD Engineering (no replies)

$
0
0
Version Been working on a schema for weeks and suddenly this bug pops up while forward engineering:

"ERROR: Error 2014: Commands out of sync; you can't run this command now
DROP TRIGGER IF EXISTS `IBNS_CONNECTION_BOX_INPUT_AUPD`
SQL script execution finished: statements: 1232 succeeded, 1 failed
Fetching back view definitions in final form.
47 views were read back."

Any ideas on what could cause it? Not doing anything fancy. Just creating tables and adding some inserts with the Workbench GUI. Some of the tables have triggers. I am not writing any drop trigger scripts. The forward engineering process is failing somehow.

Version: 6.0.9 revision 11421 build 1170

MySql connection using IPAddress (1 reply)

$
0
0
Hi,

I'm using mysql database for internal use.
I have created a database with localhost.
Currently I'm using netbeans and mysql workbench to connect to the localhost mysql.
However, How to make my database accessible from other computers ?
how to create hostname using IP address with username other than root and password?
i tried to use my pc IPaddress with different username and password it didnt work ?

Thanks


Regards
Goshen

Cannot Connect? (no replies)

$
0
0
Installed Workbench 6.0 on ubuntu 14.04.
Created Model "Player_DB" with 6 Tables.
Attempted to create Connection with the following data:
flags
Standard(TCP/IP)
127.0.0.1
3306
glen
<my password>
Player_DB.
Test Connection result:
Failed to Connect to MySQL
at 127.0.0.1:3306 with user
glen
Can't connect to MySQL on '127.0.0.1'(111).

I have tried several connection combinations but without success.

Can you please help with this problem.

Glen

Lua Script - openConnection (no replies)

$
0
0
Hi,
I am new to Workbench scripting and having trouble writing a basic Lua script to open a connection. Below is the script which yields this error:
luart: error: stdin:9: bad argument #3 to 'callFunction' (list expected, got no value)

Error executing script.



-- MySQL Workbench lua script
-- <description>
-- Written in MySQL Workbench 6.1.4


rdbmsConn = grtV.newObj("db.mgmt.Connection",
{name="rdbmsConnection", owner=app}) --owner=app

conn_id = grtM.callFunction ("DbMySQLQuery", "openConnection", rdbmsConn)
print(conn_id)
grtM.callFunction ("DbMySQLQuery", "closeConnection", conn_id)

Result grid panel layout right to left (no replies)

$
0
0
Hi everybody
I'm new to workbench and using version 6.

Since all my Data is written in Hebrew I'm looking for a way to change the layout of the result grid panel so that it would be from right to left instead of left to right.
Does anybody know of a way? toolkit?

I searched the forum but found nothing
thanks in advanced
uriya

'Forward Engineer' flush all my tables... (1 reply)

$
0
0
I created tables and insert some test data inside.
After that, i 'reverse engineer' to create relationship and FK for the tables.

Once done, i 'forward engineer', here is my problem (i m using WB 6.1 community) under "Set Options for Database to be Created",
- if i UNCHECK all option (default) and click 'Continue', the FK, relationships will not update my schema.
- if i CHECKED 'Drop objects before each create object', then it update the FK for my schema but it FLUSH all my data.

Is there a way to update FK, relationship and at the same time remain existing data?

Thanks for the pointers.

Ignore comments with Synchronize Model option (1 reply)

$
0
0
I use a lot of column's comments in my Workbench (6.0.9). My comments are long and I use them only in Workbench. There is no need to export them or synchronize. Can I set somewhere in options to ignore all comments during synchronization?

There is also another problem with syncronization of truncated comments. Workbnech compares truncated comments from Database with full comments from Model. So even if any of my model's comments weren't changed, the Workbench wants to update every column for example:

ALTER TABLE `table`.`object_images`
CHANGE COLUMN `oi_type` `oi_type` TINYINT(3) UNSIGNED NOT NULL COMMENT 'Any long comment here...' /* comment truncated */ /*i
...*/

So as a result in "select changes to apply" I get information that I need to change many tables, which isn't true.

Help using MYSQL to automatically gather data from Facebook Graph API (1 reply)

$
0
0
How can one write code in MYSQL workbench that will gather data from something like the Facebook Graph API? For example, getting the 'like' statistic from a page and adding this to one of my tables. Is it plausible to write php code for this in MYSQL?

Additionally, if I want my database to automatically grab this information from Facebook every night at midnight and keep a record of how the 'like' statistic changes over time, do I do this using the event scheduler or triggers or something along those lines?

Any help would be much appreciated, I am new to MYSQL
Viewing all 3740 articles
Browse latest View live


Latest Images

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