LINUX搭建测试环境,在安装MySQL时出现问题,求助
在安装好3个MYSQL文件后会跳出PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE:If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL../etc/init.d/mysql: line 151: kill: (3815) - 没有那个进程
[失败]
然后输入MYSQL想进入的时候会提示:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
求助:如何才能把此问题解决然后安装正常 你可以到我的空间看看,或者直接看这个帖子。
http://bbs.51testing.com/viewthread.php?tid=115764
注意路径的修改 这个问题是你的mysql版本低,而linux开启了selinux,将mysql当作攻击对待的原因造成的。
在linux的图形界面的子菜单security level中将selinux禁用就好了
页:
[1]