MySQL 5.7 No directory, logging in with HOME=/
来源:互联网 发布:电子商务的域名 编辑:程序博客网 时间:2024/06/06 19:16
在ubuntu 14的版本中,安装了mysql 后,启动时,程序提示 “No directory, logging in with HOME=/”
root@xxx:/etc/mysql# service mysql restart * Stopping MySQL Community Server 5.7.11... * MySQL Community Server 5.7.11 is stopped * Re-starting MySQL Community Server 5.7.11No directory, logging in with HOME=/.. * MySQL Community Server 5.7.11 is started
解决方法:
sudo service mysql stop
sudo usermod -d /var/lib/mysql/ mysql
sudo service mysql start
0 0
- MySQL 5.7 No directory, logging in with HOME=/
- No directory, logging in with HOME=/
- mysql5.7.20 No directory, logging in with HOME=/
- ubuntu环境下重启mysql服务报错“No directory, logging in with HOME=-”
- su: warning: cannot change directory to /home/mysql: No such file or directory
- Reading files in MySQL with file_priv = no
- Logging with MySQL
- Compile and install GCC in home directory
- MySql之错误异常--Binary logging not possible. Message: Transaction level 'READ-COMMITTED' in InnoDB is no
- 错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory
- 错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory
- 错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory
- Mysql 升级到 5.7.16,group by 一直报home brew on columns in GROUP BY clause; this is incompatible with sql
- iis ftp 530 User cannot log in, home Directory Inaccessible
- drupal-7.24 + xmapp MySQL 在Mac 10.9出现(with SQLSTATE[HY000] [2002] No such file or directory)
- drupal-8-dev + xmapp MySQL 在Mac 10.9出现(with SQLSTATE[HY000] [2002] No such file or directory)
- mysql.h: No such file or directory
- 解决MAC下PHP连接MYSQL错误Warning: mysql_connect(): No such file or directory in conn.php
- 前段-响应式布局
- JavaWeb 之 Cookie详解
- submask最简单的理解
- APP Widget 窗口小工具
- Android_百度地图API_通过点击地图在指定位置显示PopWindow
- MySQL 5.7 No directory, logging in with HOME=/
- 如丝般顺滑地从Windows迁移SQLServer数据库到Linux
- A* A星 算法 C语言 实现代码
- cs231n课程资料Python Numpy Tutorial的Python3版本
- 基于NaiveBayse SVM KNN的Python垃圾短信过滤系统 附代码
- git 常用命令
- ListView 还没有setAdapter时候,headerView不显示?
- JavaScript语言精粹(一) — 数字、NaN和Infinity
- Android应用程序资源的编译和打包过程分析