workbench

MySQL Workbench crash on start on Windows

笑着哭i 提交于 2019-11-29 22:19:13
问题 I`ve just installed my MySQL Workbench and it crashes on start and i really dont know what to do with it. Error codes from Event Log : Application Error Application that causes trobule: MySQLWorkbench.exe version: 6.2.3.12312, time signature: 0x541717ae Name of the module that causes error: KERNELBASE.dll, version: 6.1.7601.18409, time signature: 0x5315a05a exception code: 0xe0434352 error shift: 0x000000000000940d ID of process that cause trobule: 0x8c0 Hour of launching the application that

MySQL Workbench and phpMyadmin

不想你离开。 提交于 2019-11-29 18:37:10
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VISIBLE, CONSTRAINT fk_TeamStatistik_Team FOREIGN KEY ( Team_id ) ' at line 10 I created my database using mysql workbench and got this error, below I posted the sql code generated by mysql workbench...I got this error as i tried to input the sql code in phpmyadmin. Anyone that can help? Thanks in advance. -- MySQL Script generated by MySQL Workbench -- Sun Oct 21 14:37:37 2018 -- Model: New Model Version: 1.0 -- MySQL Workbench Forward Engineering SET

【MySQL】使用MySQL workbench和Excel(csv)表之间的数据导入

吃可爱长大的小学妹 提交于 2019-11-29 17:13:28
Excel文件处理 MySQL workbench不能直接导入Excel文件。 先将Excel另存为csv,再 将csv的格式在记事本里改为utf-8 ,然后在Mysql Workbench里操作就可以。 MySQL WorkBench导入csv数据操作步骤 1、打开MySQL WorkBench,新建一个Schema,如图所示 2、在上图中的Tables上右键,点击Table Data Import Wizard选项,进入如下所示对话框。 3、选择要导入的文件和Schema,一直next即可,如图所示。 来源: https://blog.csdn.net/weixin_41990278/article/details/100861600

How to integrate KIE Workbench 6.1.0.Final (Drools Guvnor) Project with Java Application

邮差的信 提交于 2019-11-29 15:35:39
I am using KIE Workbench 6.1.0.Final and my Eclipse project where I am trying to execute rules is also 6.1.0 Runtime enabled. I like to know how I can execute/load rules created using Drools Guvnor, from my java application. Before posting this question, I have looked at the following similar questions and tried the given approaches but none of them worked for me. Integrating Drool 6 work bench with Java Application why does loading Drools 6 KIE JAR into code fail? Loading Drools/KIE Workbench artifacts directly from the repository KIE Workbench Integration Responds with 401 I have followed

SQL Query works in Workbench but get 'Could not convert variant type' error with the exact same query in Delphi

我们两清 提交于 2019-11-29 15:12:51
The exact error i'm getting is Could not convert variant of type (UnicodeString) into type(Date). The variable I am using for the date is a string and I have to place quotation marks around it or else it returns null but when I put the quotation marks around it I get this error. Here is my code for the SQL Query and the variable TodaysDate . (This code isn't copy and pasted due to it being on a different machine without internet capabilities so please ignore anything that might cause a compiling error) if MidStr(DateToStr(Date),2,1) ='/' then TodaysDate := MidStr(DateToStr(Date),6,4) + '-' +

MySQL workbench的一个坑

 ̄綄美尐妖づ 提交于 2019-11-29 07:12:06
这是学习笔记的第 2091 篇文章 今天一个开发同事找到我们,问能不能帮忙做一个存储过程的恢复,因为这是一套开发测试环境,所以我们给了开发足够的权限使用,每天会在后端做一次数据库备份工作。 碰到这种数据恢复的情况,倒不是很稀奇了,不过我还是重新了解了下数据丢失的整个过程,根据描述这个存储过程不是手工直接删除的,这位同学是在workbench端打开了这个存储过程,在这个基础上进行修改,然后 存储过程就不见了。我对于这种看起来奇怪的问题比较感兴趣,于是就去他的工位那里进行了解。 经过他的描述和环境的情况,这个存储过程(假设是test_proc)通过workbench查看不到,我在后端进行了检查,在information_schema.routines里面找了下,确实没有,所以不是权限丢失的问题。 为什么这个存储过程会平白无故的不见了呢,我和这位同学聊得更细了些,让他在本地环境复现了下这个问题,他复现的步骤是: 创建一个新的存储过程test_proc 通过workbench工具打开,做一些编辑改动,故意修改几处让存储过程存在一些编译错误 编译失败,然后选择不保存退出 再次查看列表发现,刚刚的存储过程不见了。 对于这个操作,我还是带着一些幻想,如果是近期创建的,完全可以不用备份就从binlog里面抓取得到存储过程的语句,同时也可以看下在操作的那个时间节点,后端是不是做了drop的相关操作。

传统项目消息中心的设计注意的地方--【未读消息】

隐身守侯 提交于 2019-11-29 06:40:11
今天有一条SQL占用系统负载很高,IO负载占用了30%。功能是用户登陆之后,显示未读消息的数量。由于只要点系统的功能都会查这条SQL。 导致上午4个小时调用了10万次。 SELECT COUNT(1) FROM WORKBENCH_MES T1, WORKBENCH_MES_REL T2 WHERE T1.MES_ID = T2.MES_ID AND T2.RECIPIENT_ID = '83DB7DD7505B4C90831717AB18881C69' AND T2.IS_READ = 'N' AND T1.SEND_DATE >= TO_DATE('2017-08-04', 'YYYY-MM-DD') AND T1.SEND_DATE < TO_DATE('2018-02-04', 'YYYY-MM-DD') + 1; 就在昨天,这条SQL执行计划改变了。由于之前消耗小,虽然执行次数多,问题也不大,执行计划从索引变成全表之后问题就来了。 ------------------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|

How to copy table between two models in Mysql workbench?

杀马特。学长 韩版系。学妹 提交于 2019-11-29 06:24:14
问题 I am doing some databese thing, I need copy one table from one model to another, but i try many ways there no effect. Is there any way for doing this? 回答1: Your best option is probably to create a stripped down version of the model that contains the objects you want to carry over. Then open the target model and run File -> Include Model... . Select the stripped down source model and there you go. 回答2: If you just want to do a single table through the MySQL Workbench. In MySQL Workbench:

使用MySQL Workbench进行数据库设计——MySQL Workbench使用方法总结

不问归期 提交于 2019-11-29 04:42:52
本文出自【 我是干勾鱼的博客 】 转自: https://blog.csdn.net/dongdong9223/article/details/48318877 1 创建Model(设计ER图) 使用workbench设计ER图也很简单。选择File -> New Model: 在新展开的页面中“Model Overview”界面双击“Add Diagram”图标: 双击后即可看到设计界面,workbench中叫EER图,其实就是增强的(enhanced)ER图。在这个界面中即可进行ER图的设计,例如添加一个table等: 注意有些信息可以进行详细设置: 2 使用Model生成SQL语句 如果你需要sql语句,那么需要利用Model来生成。 首先打开一个Model,点击File -> Open Model,如图: 选择一个mvb类型文件,就是Model。 打开这个Model后,要生成它对应的sql语句,需要点击File -> Export -> Forward Engineer SQL CREATE SCRIPT,如图: 打开**“Forward Engineer SQL SCRIPT”**,如图: 第一部中: 首先给将生成的sql语句文件设定位置和名称; 其次选中 “Generate DROP Statements Before Each Create Statement” 和

MySQL Workbench charset

匆匆过客 提交于 2019-11-28 22:32:31
Does there exist any way to change the MySQL Workbench charset? My schema uses UTF-8 and when I view the table data (saved as UTF-8) or add data manually, it appears with charset errors, probably MySQL Workbench uses LATIN1. sbrbot I think OP was asking about charset that Workbench uses in its editor and how to setup Workbench to use UTF-8 in GUI - not how to setup default charset used for database table in Workbench. At the moment in Workbench one can set database table charset but regardless of it Workbench will in it's GUI represent data using Latin1 charset!!! Also inserting data into UTF