欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

Mysql如何實現(xiàn)從Windows遷移到Linux-創(chuàng)新互聯(lián)

本文主要給大家介紹Mysql如何實現(xiàn)從Windows遷移到Linux,其所涉及的東西,從理論知識來獲悉,有很多書籍、文獻(xiàn)可供大家參考,從現(xiàn)實意義角度出發(fā),創(chuàng)新互聯(lián)累計多年的實踐經(jīng)驗可分享給大家。

科爾沁網(wǎng)站制作公司哪家好,找創(chuàng)新互聯(lián)建站!從網(wǎng)頁設(shè)計、網(wǎng)站建設(shè)、微信開發(fā)、APP開發(fā)、成都響應(yīng)式網(wǎng)站建設(shè)等網(wǎng)站項目制作,到程序開發(fā),運(yùn)營維護(hù)。創(chuàng)新互聯(lián)建站于2013年成立到現(xiàn)在10年的時間,我們擁有了豐富的建站經(jīng)驗和運(yùn)維經(jīng)驗,來保證我們的工作的順利進(jìn)行。專注于網(wǎng)站建設(shè)就選創(chuàng)新互聯(lián)建站。

最近有個項目從Windows上遷移到Linux上,數(shù)據(jù)庫在遷移成功,但是項目無法啟動

[BPM] 2018-09-23 17:04:52 ERROR [localhost-startStop-1] ContextLoader.initWebApplicationContext(307) | Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysUserSyncService': Injection of resource dependencies failed; nested e
xception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysUserService': Injection of resource dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bpmNodeUserService': Injection of resource dependenc
ies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bpmNodeUserCalculationSelector' defined
in class path resource [conf/app-beans.xml]: Cannot resolve reference to bean 'sameNodeCalculationDepartment' while setting bean property 'bpmNodeUserCalculatio
n' with key [TypedStringValue: value [sameNodeDepartment], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Err
or creating bean with name 'sameNodeCalculationDepartment': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.Bea
nCreationException: Error creating bean with name 'taskOpinionService': Injection of resource dependencies failed; nested exception is org.springframework.beans
.factory.BeanCreationException: Error creating bean with name 'bpmService': Injection of resource dependencies failed; nested exception is org.springframework.b
eans.factory.BeanCreationException: Error creating bean with name 'proce***unService': Injection of resource dependencies failed; nested exception is org.spring
framework.beans.factory.BeanCreationException: Error creating bean with name 'taskSignDataService': Injection of resource dependencies failed; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; neste
d exception is org.activiti.engine.ActivitiException: no activiti tables in db. set <property name="databaseSchemaUpdate" to value="true" or value="create-drop"
 (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation
     at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:307)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)

Mysql如何實現(xiàn)從Windows遷移到Linux

.....省略.....

但是該Linux上的項目連接Windows上的數(shù)據(jù)庫,并沒有這個錯誤,所以確定問題所在是Linux的數(shù)據(jù)庫有問題,經(jīng)過幾番研究,發(fā)現(xiàn)問題所在!
Mysql在Windows下默認(rèn)對大小寫不敏感,但在Linux下默認(rèn)區(qū)分大小寫的??!
所以在配置文件上添加lower_case_table_names=1,重啟Mysql,再重啟項目,成功!

看了以上Mysql如何實現(xiàn)從Windows遷移到Linux介紹,希望能給大家在實際運(yùn)用中帶來一定的幫助。本文由于篇幅有限,難免會有不足和需要補(bǔ)充的地方,大家可以繼續(xù)關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊板塊,會定期給大家更新行業(yè)新聞和知識,如有需要更加專業(yè)的解答,可在官網(wǎng)聯(lián)系我們的24小時售前售后,隨時幫您解答問題的。

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

分享標(biāo)題:Mysql如何實現(xiàn)從Windows遷移到Linux-創(chuàng)新互聯(lián)
轉(zhuǎn)載來于:http://chinadenli.net/article46/deedhg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站設(shè)計、關(guān)鍵詞優(yōu)化、網(wǎng)站營銷、做網(wǎng)站、商城網(wǎng)站、品牌網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站建設(shè)