新开一个虚拟机器 网上下MySQL-server-community-5.0.89-0.rhel5.i386.rpm;
MySQL-client-community-5.0.89-0.rhel5.i386.rpm;
发现失败
不知道原因?执行过程如下
[root@localhost mysql]# rpm -ivh MySQL-server-community-5.0.89-0.rhel5.i386.rpm;
warning: MySQL-server-community-5.0.89-0.rhel5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-server-community ########################################### [100%]
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'Alternatively you can run:
/usr/bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.See the manual for more instructions.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......Manager of pid-file quit without updating file.[失败]
Giving mysqld 2 seconds to start
[root@localhost mysql]# rpm -ivh MySQL-client-community-5.0.89-0.rhel5.i386.rpm;
warning: MySQL-client-community-5.0.89-0.rhel5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-client-community ########################################### [100%]
[root@localhost mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@localhost mysql]# mysqladmin -u root password 'bestbrain'
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
[root@localhost mysql]# cd /usr/bin/
[root@localhost bin]# mysqladmin -u root password 'bestbrain'
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
[root@localhost bin]#
MySQL-client-community-5.0.89-0.rhel5.i386.rpm;
发现失败
不知道原因?执行过程如下
[root@localhost mysql]# rpm -ivh MySQL-server-community-5.0.89-0.rhel5.i386.rpm;
warning: MySQL-server-community-5.0.89-0.rhel5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-server-community ########################################### [100%]
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'Alternatively you can run:
/usr/bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.See the manual for more instructions.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......Manager of pid-file quit without updating file.[失败]
Giving mysqld 2 seconds to start
[root@localhost mysql]# rpm -ivh MySQL-client-community-5.0.89-0.rhel5.i386.rpm;
warning: MySQL-client-community-5.0.89-0.rhel5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-client-community ########################################### [100%]
[root@localhost mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@localhost mysql]# mysqladmin -u root password 'bestbrain'
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
[root@localhost mysql]# cd /usr/bin/
[root@localhost bin]# mysqladmin -u root password 'bestbrain'
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
[root@localhost bin]#
解决方案 »
- 求助longblob问题
- 如何 统计24小时内各时间点,在线人数?
- mysql 序列问题...
- Installshield 怎样指定文件的安装路径
- mysql不支持这条sql,应该怎么写
- 在mysql里面如何把一个Date类型的和一个time类型的合成一个datetime类型的
- pgsql 在redhat es 3.0 中的问题(各位大大帮帮忙)
- 启动winmysqladmin的问题
- 如何创建mysql本地数据库,接着如何部署通过地址链接
- MySQL时区问题,使用了datetime作为下单时间
- 设置了low_priority_updates却依然会被system lock
- mysql 复合索引和单列索引优缺点及什么情况下使用
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@localhost init.d]# mysql start;
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@localhost init.d]# 起不起来 来。 估计安装是不成功的 。 清帮我检查, 感谢!安装过程里有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......Manager of pid-file quit without updating file.[失败]
Giving mysqld 2 seconds to start
[r
是否可以判断安装是不完全成功的 。 (我分析安装是是失败的 0
error: Failed dependencies:
MySQL conflicts with mysql-3.23.58-1
[root@localhost mysql]#总是有这个冲突如何解决?
是不是没删干净
redhat 企业3好像不可以这样的 ?