Comments (14)
登录的时候也是一卡住,我修改了两个配置的数据库url,请问除了这个还要修改什么吗
from efo.
数据库连接失败了吧,控制台有异常抛出吗
from efo.
Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
from efo.
我换了一下驱动也没用
from efo.
对了,我在导入sql的时候,只导入了efo.sql,在执行最后几行创建用户并授权的时候,报错了,我就没有执行,但是我在程序中改了连接的用户和密码,用root进行连接。除此之外,我的mysql是在虚拟机上的,但是我本地用navicat是可以直接连上的,防火墙应该没有问题
from efo.
我现在不太清楚您写的两个配置文件中都有数据库的连接,我两个都进行了修改,都把usermane和pwd换为了mysql的root
from efo.
sql
文件最后几行执行授权失败没啥关系的,改配置文件的用户名和密码就可以了,application.porperties
通常是开发环境(默认),application-prod.properties
通常是生产环境,数据库能联通基本上也就没有啥问题了
from efo.
我是初学spring boost ,是不是项目部署和运行的时候有错误,我仅仅maven build
,然后修改数据库连接,就直接运行了main
,除此就没有修改什么了
from efo.
有一条日志
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class is
com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
from efo.
这个日志可能是我提高了jdbc的版本
from efo.
这个我也不太清楚了,你的mysql不是5.7吧,只有多查资料了
from efo.
好的,谢谢
from efo.
再次麻烦一下,请问数据库连接的useSLL
能不能变为false
from efo.
可以的,连接条件都是可以修改的,只是有些情况可能会报警告
from efo.
Related Issues (16)
- 下载后 在mac端下 使用 idea 运行不了 HOT 1
- 系统
- 错误: 找不到或无法加载主类 org.apache.maven.wrapper.MavenWrapperMain HOT 1
- 如何判断相同的文件 HOT 1
- 这个zip好像没有BOOT-INF/classes文件 HOT 1
- 说是找不到token.jason文件 HOT 1
- 其他模块能放一下吗?
- 为什么启动项目后,出现“无法连接到服务器,请联系管理员”弹窗? HOT 1
- 感谢
- 可以在局域网中使用吗 HOT 1
- 关于管理员(admin)页面 HOT 1
- emmm HOT 1
- 这个开发完了吗 HOT 1
- war包方式运行 HOT 1
- 请问一下,这个项目下载后如何部署? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from efo.