show tables; 查看数据库里有什么表命令。
碰到mysql软件问题。比想象的难缠。
用之前的方式打不开黑框(鼠标单击 mysql5.7 ccommand line Client),黑框一闪而过。今晚准备解决这个问题。昨天可以用cmd进入,需要进入到mysql bin文件夹然后输入 mysql -uroot -proot 命令就可以进入了。这样进入不需要输入密码。
mysql -u root -p 这样进入需要输入密码。这样才是标准的进入方式。
打开mysql5.7 图标快捷方式属性。目标显示如下:
“E:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe” “–defaults-file=E:\Program Files\MySQL\MySQL Server 5.7\my.ini” “-uroot” “-p” “–default-character-set=utf8”
装JDBC报错:Only one instance of mysql Installer for windows can be run at a time
上网查,给的建议是重装。去控制面板,程序御载里面看到两个mysql。
删除了一个后重启电脑,然后重装。这时候其实可以在重启完后尝试下能否进入打开黑框。
重装后 弹出界面提示:
MySQL Shell 8.0.25
Copyright © 2016, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
Type ‘\help’ or ‘?’ for help; ‘\quit’ to exit.
MySQL JS >
版本由之前的 5.7变成8.0了。
下面开始制作eclipse 图形界面。
2021.06.17
建完test.java遇到报错。
Error occurred during initialization of boot layer
java.lang.module.FindException: Module org.eclipse.osgi not found
考虑是否要更换软件 intellij IDEA
An error has occurred. See error log for more details.
Cannot invoke “org.eclipse.e4.core.contexts.IEclipseContext.activate()” because the return value of “org.eclipse.e4.ui.model.application.ui.basic.MPart.getContext()” is null
2021.06.27
idea配置smart tomcat并启动