mysql-workbench

How to run a script against a .sql database on MySQL Workbench

别来无恙 提交于 2021-01-28 19:11:43
问题 Sorry for me being a novice, I know this looks like a dumb question. I'm trying to follow this very beginner's tutorial. It seems the instructor is using the employees.sql database from this sample database. If I just run the command: select * from employees; I get the error Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar. I tried opening the employees.sql on the side: but then running it returns the error

Could not acquire management access for administration. Runtime Error: Unable to excute command chcp

冷暖自知 提交于 2021-01-28 12:37:56
问题 I installed MySQL workbench 8.0 in windows 7. After the installation I just clicked server status its through the error like Could not acquire management access for administration. Run-time Error: Unable to execute command chcp. Please make sure that the C:Windows\System32 directory is in your path environment variable . How can I solve this error? 回答1: To resolve this problem on 64 bit system we have to follow two steps. add environment variable path to C:\Windows\System32 we need chcp.com

How to disable INVISIBLE index option in MySqlWorkbench?

大憨熊 提交于 2021-01-28 03:11:23
问题 I have just installed MySqlWorkbench and I have found the implementation of INVISIBLE index which is described here. I want disable this feature because the version of MySql which run on my server is older. So when I try to import the script I'll get an error: 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 'INVISIBLE, is possible disable it? because at the moment I need to remove manually that keyword 回答1:

How to connect sql developer to XAMPP MYSQL server

落花浮王杯 提交于 2021-01-28 02:48:06
问题 I need to connect my sql developer to a localhost XAMPP server username: root password: root hostname: 127.0.0.1 port: 3306 SID: ? service name: ? It needs SID or service name. so what are they? and how to know them 回答1: Download platform independent driver at http://dev.mysql.com/downloads/file.php?id=456317 Unzip the package and place the file mysql-connector-java-5.1.35-bin in folder <Path to SQL Developer>\sqldeveloper\extensions Open SQL Developer and add JDBC driver above in Extras ,

Mysql Workbench Can't Select Foreign Key

懵懂的女人 提交于 2021-01-27 10:19:42
问题 First of all I've examined a lot of questions and googled it a lot, none of them solved my problem.. I'm creating my tables by using Mysql Workbench 6.3. I've created them by using only gui not a single query. After that I've tried to create some foreign keys for int(11) columns but GUI is not allowing me to do so. Here's my Show Create Table 'tableName' CREATE TABLE `item` ( `id` int(11) NOT NULL, `description` varchar(300) NOT NULL, `maker` varchar(200) NOT NULL, `model` varchar(200) NOT

Mysql Workbench Can't Select Foreign Key

依然范特西╮ 提交于 2021-01-27 10:17:10
问题 First of all I've examined a lot of questions and googled it a lot, none of them solved my problem.. I'm creating my tables by using Mysql Workbench 6.3. I've created them by using only gui not a single query. After that I've tried to create some foreign keys for int(11) columns but GUI is not allowing me to do so. Here's my Show Create Table 'tableName' CREATE TABLE `item` ( `id` int(11) NOT NULL, `description` varchar(300) NOT NULL, `maker` varchar(200) NOT NULL, `model` varchar(200) NOT

Tables could not be fetched - Error loading schema content

偶尔善良 提交于 2021-01-23 05:40:04
问题 I open workbench and connect to a local database on XAMPP and when open the connection the schema show the error message: "tables could not be fetched" 回答1: run this command on terminal sudo /opt/lampp/bin/mysql_upgrade 回答2: run this command on terminal mysql_upgrade -u root -p 回答3: That's because the latest XAMPP use MariaDB and MYSQL Workbench is using MYSQL Database, so they are not fully compatible, raising that error for example.You can try to downgrade to some of the previous XAMPP

Tables could not be fetched - Error loading schema content

妖精的绣舞 提交于 2021-01-23 05:36:11
问题 I open workbench and connect to a local database on XAMPP and when open the connection the schema show the error message: "tables could not be fetched" 回答1: run this command on terminal sudo /opt/lampp/bin/mysql_upgrade 回答2: run this command on terminal mysql_upgrade -u root -p 回答3: That's because the latest XAMPP use MariaDB and MYSQL Workbench is using MYSQL Database, so they are not fully compatible, raising that error for example.You can try to downgrade to some of the previous XAMPP

Installing MySQL and checking root password fails?

笑着哭i 提交于 2020-12-30 06:34:58
问题 I recently uninstalled and reinstalled MySQL (on Windows 7) using the installer. When I try to set up the MySQL Server, it won't let me continue unless I enter the "current" root password??? I don't understand how there can be a current root password if I completely uninstalled and reinstalled the program. I've tried with a blank password as well as every password I can possibly think of that I would have used and nothing works. Google is completely unhelpful as every result I've found either

Installing MySQL and checking root password fails?

不打扰是莪最后的温柔 提交于 2020-12-30 06:33:56
问题 I recently uninstalled and reinstalled MySQL (on Windows 7) using the installer. When I try to set up the MySQL Server, it won't let me continue unless I enter the "current" root password??? I don't understand how there can be a current root password if I completely uninstalled and reinstalled the program. I've tried with a blank password as well as every password I can possibly think of that I would have used and nothing works. Google is completely unhelpful as every result I've found either