摘要:
# vim /etc/my.cnf [mysqld] #add for free password skip-grant-tables # service mysql restart # mysql mysql> update mysql.user set password=password("1234abcd") where user='root'; Query OK, 3 rows aff... 阅读全文
摘要:
MySQL的优化我分为两个部分:硬件的优化、mysql自身(my.cnf)的优化 [root@localhost ~]# cat /etc/my.cnf# For advice on how to change settings please see# http://dev.mysql.com/do 阅读全文
摘要:
1、******# mysqlERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)#ln -s /tmp/mysql.sock /var/lib/m 阅读全文