沖刺day4
任務
完成資料庫的配置,編寫
一、小組成員今日完成的任務情況
成員 | 完成的任務 |
---|---|
李浩鵬 | 資料庫編寫 |
張潇 | |
戚少波 | |
楊守森 | 資料庫配置 |
蘭毅達 | |
張俊怡 | 資料收集 |
三、小組成員遇到的問題
1在運作時出現如下的報錯
Caused by: java.sql.SQLException: The server time zone value ‘Öйú±ê׼ʱ¼ä’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
解決:通過搜尋後發現,JDBC 8以上的版本必須配置時區
是以要在連接配接MySQL伺服器位址的位置跟上 serverTimeZone=UTC
2、
解決:原因是沒有在工程當中添加libmysql.lib配置。網頁搜尋後利用一下連接配接提供的方法配置後成功https://blog.csdn.net/weixin_34824634/article/details/113163714
3、在建立與伺服器的連接配接時出錯。在連接配接到 SQL Server 時,在預設的設定下 SQL Server 不允許進行遠端連接配接可能會導緻此失敗。 (provider: SQL 網絡接口, error: 26 - 定位指定的伺服器/執行個體時出錯)
解決:嘗試多次都沒有解決,偶然看見說可能時網絡的問題,重新開機後果然解決了!果然重新開機能解決90%遇到的問題
三、配置
三、明日任務安排
對公文申請,審批,内容等子產品進行初步調試,争取能讓程式完成最基本的功能