问题集中营
小橙子1026
这个作者很懒,什么都没留下…
展开
-
linux启动mysql失败,Fatal error: Can‘t open and lock privilege tables: Table ‘mysql.host‘ doesn‘t exist
问题描述启动mysql服务失败,前往/var/lib/mysql/文件夹下的错误日志中报出一下错误Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist翻译得结果是致命错误:无法打开和锁定特权表:表“mysql.host”不存在解决方案先执行一下查找命令查找mysql_install_db文件得位置find / -name mysql_install_db再执行以下命令*原创 2021-10-16 14:06:06 · 1705 阅读 · 0 评论 -
linux安装mysql出现Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY error: Failed dependencies: libn
从报错信息中可以得到是缺少依赖libncurses.so.5error: Failed dependencies: libncurses.so.5 is needed by MySQL-client-5.5.48-1.linux2.6.i386解决方案也很简单,缺少咱们就下载一个就可以,执行下载命令 yum install ibncurses.so.5再次进行安装就可以了...原创 2021-10-16 13:59:11 · 414 阅读 · 0 评论 -
java.lang.SecurityException: getDeviceId: The user 10158 does not meet the requirements to access de
问题执行获取Android设备的deviceId,获取设备的标识号TelephonyManager manager = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);String DEVICE_ID = manager.getDeviceId();结果报错java.lang.SecurityException: getDeviceId: The user 10158 does not meet the r原创 2021-10-08 11:48:59 · 10233 阅读 · 0 评论 -
Android联网报错:CLEARTEXT communication to www.xxxxx.xyz not permitted by network security policy
问题Android联网报错:CLEARTEXT communication to www.xxxxx.xyz not permitted by network security policy出于安全,google针对android系统的应用程序要求加密连接,所以用http进行网络访问时会报错解决方法一、 targetSdkVersion 降到27以下在targetSdkVersion 27之前预先非加密连接二、 修改AndroidManifest.xml配置文件在application标签原创 2021-10-04 23:17:03 · 1206 阅读 · 0 评论 -
git导入项目时,git出现10054错误
记录一下使用git导入项目时,git出现10054错误PS E:\html> git clone https://github.com/bradtraversy/50projects50days.gitCloning into '50projects50days'...fatal: unable to access 'https://github.com/bradtraversy/50projects50days.git/': OpenSSL SSL_read: Connection was r原创 2021-08-18 23:45:58 · 4978 阅读 · 4 评论