![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
xqy1522
这个作者很懒,什么都没留下…
展开
-
为mysql添加root远程登录权限
<br />默认情况下,MySQL之允许本地登录,需要修改/etc/mysql/my.cnf文件:<br />注释这一行:<br />bind-address=127.0.0.1 ==> #bind-address=127.0.0.1<br />对于需要远程登录的用户执行如下命令:<br />mysql> GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "yourpasswd";<br />mysql> flush privileges;原创 2010-12-13 14:14:00 · 850 阅读 · 0 评论 -
mysql ERROR2002(HY000):can't connect to local MYSQL server through socket '/var/run/mysql/mysql.soc'
今天准备将hive的元数据库改为mysql,于是安装了mysql,遇到写问题,顺便记录下。 安装完成后执行: #mysql ERROR2002(HY000):can't connect to local MYSQL server through socket原创 2011-09-02 18:18:11 · 2426 阅读 · 1 评论