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

Could not acquire management access (no replies)

$
0
0
I am getting this error message "Could not acquire management access for administration" run time error: Could not initialise WMI interface Workbench.wmiOpenSession():Could not connect to target machine.

Please advise what I need to do.

Values not saved after UPDATE (1 reply)

$
0
0
I am using the following statement:

UPDATE WEBFSS.MEMBER_PROFILE SET FUNDING = CASE

WHEN FUNDING = 'ARRA' THEN 1
WHEN FUNDING = 'Care Trans' THEN 2
WHEN FUNDING = 'CCSP' THEN 3
WHEN FUNDING = 'FS' THEN 4
WHEN FUNDING = 'ITC' THEN 5
WHEN FUNDING = 'NSIP Trans' THEN 6
WHEN FUNDING = 'NSIP SSBG sup' THEN 7
WHEN FUNDING = 'NSIP State' THEN 8
WHEN FUNDING = 'Private Pay' THEN 9
WHEN FUNDING = 'T-3' THEN 10
WHEN FUNDING = 'UA' THEN 11
WHEN FUNDING = 'UW' THEN 12


END

When I look at the table it all appears to have updated. However, after closing and re-opening Workbench all the update values have reverted to original values.

Still new to MySQL but I have never experienced this in other SQL databases.

Mysql Workbench on MariaDB (no replies)

$
0
0
Hi,


I'am trying to debug some threads issues regarding performance.

My Server:

version_comment = MariaDB Server
version = 5.5.41-MariaDB
protocol_version = 10
innodb_version = 5.5.40-MariaDB-36.1
version_compile_os = Linux

In my workbench management >> client connections >> my threads_connected info the querie appears without the values.

Like this:

"select count(*) as aggregate from `tickets_history` where `collab_id` = ? and `state_id` = ? and `conclusion_type` not in (?) and DATE(created_at) = ?"

How can i see the full querie, with the values?

Tkank you.

Cannot add a new connection (no replies)

$
0
0
Hi,

I am a complete beginner to SQL and so I decided to download workbench and follow the tutorial.

The problem shows up at the very beginning. If I click on the [+] button on the home screen, nothing happens. I've not been able to find any information about this.

Is this a bug? I am using OS X 10.9.5 and the 6.3.9 version of the workbench.

Thanks! (and apologies if the question is trivial)

adding common columns to tables (no replies)

$
0
0
I have up to 6 columns of data that will be common to several tables, is there a way to create a template to just add these columns to a table with one action using worknench?

How to set TIMESTAMP and DATETIME in workbench (no replies)

$
0
0
Using work bench I have 2 data fields/columns that are dates

One is the date and time the record was first inserted into the table and will remain the same until the record is deleted lets call it DATE_CREATED

The second is the date and time the record was updated lets call it DATE_CREATED

Data Type for both is TIMESTAMP or should I make it DATETIME

In the workbench how should I set the default value to keep DATE_CREATED static and keep DATE_UPDATED dynamic so it changes each time the record is updated

Hips bums and booty's grow bigger in 14days enlargement cream & pills call +27604039153 (no replies)

$
0
0
Hips bums and booty's grow bigger in 14days enlargement cream & pills call +27604039153
ENLARGEMENT, STRETCH MARKS
REMOVAL CALL +27604039153 PROFESSOR ZEEVA
Increment of size from 30A to 30B
Firmer and more tone breasts from 34B to 34C
Pinkish nipples and breast skin
Smoother and tighter breast skin
Achieve breast fullness
It is a natural cream with no side effects
It is totally herbal
Clinically tested, proven and easy to use
No need of surgery
Completely no risk of cancer
Perfect woman enhancement
100% guaranteed.
The Products can increase or change the size of these areas:
1. Upper buttock
2. Middle buttock
3. Lower buttock
4. Hip expansion
5. Outer thighs
simple to use .
Price list below.
$700
$1000
$1200
NOTE: MANY STUDIES ON THE USE OF NATURAL PRODUCTS
FOR BREAST ENHANCEMENT SHOW VERY POSITIVE RESULTS
FOR ENLARGING AND FIRMING OF BREASTS
CALL: PROFESSOR ZEEVA +27604039153
HIPS ENLARGEMENT, BUMS ENLARGEMENT AND REDUCTION
CREAMS WITH NO SIDE EFFECTS, GET THE BODY SHAPE YOU
HAVE EVER WISHED FOR AND ENJOY YOUR LIFE BIT ATTRACTING
ATTENTION FROM ADMIRAERS.
WEIGHT LOSS TUBE, TUMMY REDUCTION GEL WITH NO SIDE
EFFECTS, NO HUSTLING WITH TIRESOME EXERCISES, STRETCH MARKS
REMOVAL CALL: PROFESSOR DDOBO on +27604039153 Email: profzeeva@gmail.com Our strongest Formula yet.............Free Deliveries worldwide by either DHL or FedEx USA-UK-ASIA-AFRICA-CANADA- AND MANY MORE

Foreign keys and primary keys (no replies)

$
0
0
can a primary key have a data type of CHAR or VARCHAR

can a Foreign Key have - in the key example 001-001-bed1-W1A-001

Database synchronize model can not recognize source table (no replies)

$
0
0
Workbench 6.3.9 build 10690321 community
mysql 5.7.18

I just create new model, and synchronize database everything is ok.
but when i just add only one json field, synchronize database will be abnormal. It will synchronize the model to database at first time, but when i check again, or just change the model source, int the 'Select Changes to Apply' step, the source table is always N/A, it can not recognize the table name from destination database.

the model schema is mydb->table1,
id bigint
test json

which will reappear the result.

any idea?

MySQL Workbench updates columns which shouldn't be changed (no replies)

$
0
0
Three columns in my DB are as shown below:

MariaDB [testdb]> explain points;
+------------+---------------+------+-----+----------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------+------+-----+----------+----------------+
| slope | decimal(12,6) | NO | | 1.000000 | |
+------------+---------------+------+-----+----------+----------------+
11 rows in set (0.00 sec)

MariaDB [testdb]> explain testing;
+------------+-----------+------+-----+---------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+-----------+------+-----+---------------------+----------------+
| timestamp | timestamp | NO | | current_timestamp() | |
+------------+-----------+------+-----+---------------------+----------------+
6 rows in set (0.00 sec)

MariaDB [testdb]> explain guids;
+------------+-----------+------+-----+---------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+-----------+------+-----+---------------------+----------------+
| timestamp | timestamp | NO | | current_timestamp() | |
+------------+-----------+------+-----+---------------------+----------------+
4 rows in set (0.00 sec)

MariaDB [testdb]>



And then when I use MySQL Workbench (latest version 6.3.9) to synchronize the model with the database, it does the following:

ALTER TABLE `testdb`.`points`
CHANGE COLUMN `slope` `slope` DECIMAL(12,6) NOT NULL DEFAULT 1 ;

ALTER TABLE `testdb`.`testing`
CHANGE COLUMN `timestamp` `timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ;

ALTER TABLE `testdb`.`guids`
CHANGE COLUMN `timestamp` `timestamp` TIMESTAMP NOT NULL ;

Why are they being updated? I know it is petty, but it just bugs me.
Functions and triggers also get updated, but this seems to bug me less.

Thank you

Training Video (no replies)

$
0
0
I am looking for sources for trainng on workbench does any one know of one. The ones on youtube seem to short and many you can not understand the presenter

Thanks

Connection vs Remote Management (no replies)

$
0
0
I have been stuck trying to establish read-write privileges on a remote Access Client through ODBC. I was able to export my tables and data to my MySQL database, but when I try to update from code I get a read-only flag. I can't tell if remote management is even being activated. This is partly because I don't understand the relationship between connection and remote management, and remote management is hardly documented in the manual. I'm also not sure of what format is expected for the WMI Password. I am assuming my ODBC Connector takes the connection details, because anything I put in for the WMI Password fails in the server logs. I really thought there would be an end to the grind.

Possible error with the latest Mac version (no replies)

$
0
0
No matter what I do, I can't import data into tables. I know it's a Mac issue because I keep getting "Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement." It seems that there is no way to change or disable the option. I've tried it in Workbench, I've edited the .plist file in the LaunchDaemons folder, nothing works. I know it's a Mac error, because the people I've been collaborating all use Windows, and the script we were working on imported data just fine on their ends.

moving mysql import or export outside of mysql workbench into standalone script (no replies)

$
0
0
I see that workbench shows the command being run for imports and exports, and I'd like to run that command on another machine in a standalone script. Unfortunately, the script appears to reference a "defaults file" that is temporary and not accessible after the command runs... it seems that workbench is dynamically creating this extraparams.cnf file each time the command is run.. therefore it makes it difficult for me to reproduce this command elsewhere

13:45:52 Restoring /Users/wes/dumps/Dump20170907.sql
Running: /Applications/MySQLWorkbench.app/Contents/MacOS/mysql --defaults-file="/var/folders/x1/8vgyglcd0hv44_5fdlqj1zssm53dzs/T/tmpsmXKI3/extraparams.cnf" --protocol=tcp --host=server.edu --user=riuser --port=3306 --default-character-set=utf8 --comments --database=prd2 < "/Users/wes/dumps/Dump20170907.sql"
13:46:02 Import of /Users/wes/dumps/Dump20170907.sql has finished


Any suggestions?

Thank you.

【The language Of GUI Menu 】MySQL Workbench (no replies)

$
0
0
MySQL Workbench, The language Of GUI Menu Is English。
Is it possible to provide an interface that Volunteers can fill in the words in other language? Volunteers translate the English menu words。
In this way, this software will soon be available in a variety of languages。
other languages version are provided by volunteers。
Every user can be a volunteer。

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128) (no replies)

$
0
0
Hi Team,
This is for OSX mySQL Workbench 6.3.9
I am trying to import a CSV File to a defined table with the import wizard and get this unicode error:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

The file was created with OpenOffice and coded in UTF-8. The import settings have been setup to UTF-8 as well, so I guess the file should have only decodable characters.



However I still geht this import error. Any idea how to fix it ?

thanks

Sergio

Here the complete error:

Traceback (most recent call last):
File "/Applications/MySQLWorkbench.app/Contents/Resources/libraries/workbench/wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/sqlide_power_import_wizard.py", line 125, in start_import
retval = self.module.start(self.stop)
File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/sqlide_power_import_export_be.py", line 271, in start
ret = self.start_import()
File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/sqlide_power_import_export_be.py", line 420, in start_import
query = """PREPARE stmt FROM 'INSERT INTO %s (%s) VALUES(%s)'""" % (self._table_w_prefix, ",".join(["`%s`" % col for col in dest_col_order]), ",".join(["?" for i in dest_col_order]))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
ERROR: Import data file: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
Failed

Problem with importing tables (no replies)

$
0
0
So I'm now running MySQL Workbench on Windows. Earlier today I was able to import data from tables just fine, but just now I can't. The import seems to be successful, but the message says that 0 rows are being imported. This just happened out of the blue. I didn't change anything. Does anyone know a fix for this? If so, please spell it out for me like I'm an idiot. I'm a novice, and I'm taking an online class, and I've only been using this software for 3 weeks.

create template in workbench (no replies)

$
0
0
I have an existing model and or Database with several tables

Is there a way to create a Template out of one of these tables without starting from scrach or do I have to create a new template and enter the fileds one by one

Is there any love on Workbench autolayout. (no replies)

$
0
0
Hello, I just wanna ask if is there any future improvement for autolayout for the EER Diagram on the MySQL Workbench?

Its been a long time that workbench autolayout is not working properly.

The best schema editor I found is from "DBForge", it can handle autolayout perfectly.

But since I move away from windows, the best schema editor I can find is still MySQL Workbench but, it is pain in the *** to arrange the tables, etc on the diagram.

Actually I am not editing tables, etc on the EER Diagram I just used it for viewing the database table structure.

I think I asked so much for this. But it can definitely help and ease work on creating/arranging diagrams.

Thank you

Modeling Approach and how to use (1 reply)

$
0
0
I am a newbee for both MYSQL and Workbench and looking for advise

It seems I can create a single database using a MYSQL Model and create a single table then Forward Engineer that rump data base

Then I can go back to the Model and add additional tables and relationships and then synch the model with the database

and in this way I can incrementaly create the ultamate database

Is this a good approach?

Will it work?

What are the disadvantages?

Any training material on best practices for using workbench?

Thanks
Viewing all 3742 articles
Browse latest View live