使用IDEA连接MySQL数据库出现的错误No driver files provided
在重装了MySQL之后,使用idea连接时报了这个错误:No driver files provided
记录解决方法如下:
点击蓝色提醒框Config Driver
然后这里等着下载驱动就好了
如果出现以下问题
Error: java.net.SocketTimeoutException: connect timed out
请在yml或者properties文件配置时加上如下语句&connectTimeout=1000&socketTimeout=60000
url: jdbc:mysql://localhost:3306/xxxx?····&connectTimeout=1000&socketTimeout=60000
此处借鉴作者:==magic_kid_2010==的文章:Mysql 超时时间设置
链接如下:https://blog.csdn.net/magic_kid_2010/article/details/103294108?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2aggregatepagefirst_rank_v2~rank_aggregation-4-103294108.pc_agg_rank_aggregation&utm_term=%E8%BF%9E%E6%8E%A5mysql%E8%B6%85%E6%97%B6%E6%97%B6%E9%97%B4%E8%AE%BE%E7%BD%AE&spm=1000.2123.3001.4430