Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'解决?: >>> vim /etc/my.cnf >>> [client] default-character-set=utf8 socket=/storage/db/mysql/mysql.sock [mysql] default-character-set=utf8 socket=/storage/db/mysq
datanode配置多个数据存储地址,涉及到以下两个配置项 dfs.name.dir Determines where on the local filesystem the DFS name node should store the name table(fsimage). If this is a comma-delimited list of directories then the name table is replicated in all of the directories,
1.在mysql安装目录下找到my.ini文件,更改#Path to the database root datadir="希望存放数据的地址" 2.将默认存放路径(一般为"C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.5\data",注意显示隐藏文件夹)以下全部文件粘贴到新存放路径内 3.重启mysql服务