1.启动数据库netstartmysql 2.登录数据库mysql-uroot-p 3.用数据库 eg:有sys,name,age三个数据库你用哪个就需要执行命令,如下 mysql>usename 4.alteruser'root'@'localhost'identifiedwithmysql_native_passwordby'123456'; //123456为数据库密码 5.flushprivileges; //即可解决 node连接数据库出现的问题ER_NOT_SUPPORTED_AUTH_MODE:Clientdoesnot
业务场景将一些对象数据导出到excel文件中,其中字符串列表类型的字段要以json字符串的形式导出。例如publicclassMyData{@ExcelProperty(value="a")privateIntegera;@ExcelProperty(value="b")privateListString>b;}MyData类对象的Listb属性要以json字符串的形式输出到excel里:["xxxx","xxxx","xxxx"]在使用EasyExcel导出时,报错如下:com.alibaba.excel.exception.ExcelDataConvertException:Cannotf
业务场景将一些对象数据导出到excel文件中,其中字符串列表类型的字段要以json字符串的形式导出。例如publicclassMyData{@ExcelProperty(value="a")privateIntegera;@ExcelProperty(value="b")privateListString>b;}MyData类对象的Listb属性要以json字符串的形式输出到excel里:["xxxx","xxxx","xxxx"]在使用EasyExcel导出时,报错如下:com.alibaba.excel.exception.ExcelDataConvertException:Cannotf
在进行flask安装后,运行程序的过程中出现了“ModuleNotFoundError:Nomodulenamed‘flask._compat’”的错误,在查询了多个网站后给出了不同的答案其报错原因是flask版本过高导致无法识别该语法。解决方法1:降低flask版本,1.1.2即可pip3installflask==1.1.2而该方法可能存在的问题是,会导致其他代码因为flask版本过低同样无法运行。可能会报诸如:ImportError:cannotimportname‘json‘from‘itsdangerous‘的错误这一般是flask版本过低导致的,因此需要重新安装高版本flaskpi
在进行flask安装后,运行程序的过程中出现了“ModuleNotFoundError:Nomodulenamed‘flask._compat’”的错误,在查询了多个网站后给出了不同的答案其报错原因是flask版本过高导致无法识别该语法。解决方法1:降低flask版本,1.1.2即可pip3installflask==1.1.2而该方法可能存在的问题是,会导致其他代码因为flask版本过低同样无法运行。可能会报诸如:ImportError:cannotimportname‘json‘from‘itsdangerous‘的错误这一般是flask版本过低导致的,因此需要重新安装高版本flaskpi
>Task:customerui:checkDebugDuplicateClassesFAILEDExecutionfailedfortask':customerui:checkDebugDuplicateClasses'.>Afailureoccurredwhileexecutingcom.android.build.gradle.internal.tasks.CheckDuplicatesRunnable >Duplicateclassandroid.support.v4.app.INotificationSideChannelfoundinmodulescore-1.5.0-runti
>Task:customerui:checkDebugDuplicateClassesFAILEDExecutionfailedfortask':customerui:checkDebugDuplicateClasses'.>Afailureoccurredwhileexecutingcom.android.build.gradle.internal.tasks.CheckDuplicatesRunnable >Duplicateclassandroid.support.v4.app.INotificationSideChannelfoundinmodulescore-1.5.0-runti
引言Github不能拉代码了?今天我像往常那样更新一下Github代码,发现竟然报了下面的错误:$gitpullremote:SupportforpasswordauthenticationwasremovedonAugust13,2021.Pleaseuseapersonalaccesstokeninstead.remote:Pleaseseehttps://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/formoreinformation.fatal:unabletoaccess'ht
引言Github不能拉代码了?今天我像往常那样更新一下Github代码,发现竟然报了下面的错误:$gitpullremote:SupportforpasswordauthenticationwasremovedonAugust13,2021.Pleaseuseapersonalaccesstokeninstead.remote:Pleaseseehttps://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/formoreinformation.fatal:unabletoaccess'ht
解决remote:SupportforpasswordauthenticationwasremovedonAugust13,2021.Pleaseuseapersonalaccesstokeninstead.问题原因Logonfailed,usectrl+ctocancelbasiccredentialprompt.remote:SupportforpasswordauthenticationwasremovedonAugust13,2021.Pleaseuseapersonalaccesstokeninstead.remote:Pleaseseehttps://github.blog/202