- 浏览: 190631 次
- 性别:
- 来自: 长沙
文章分类
最新评论
-
atgoingguoat:
Spring Cloud 现状目前,国内使用 Spring C ...
SpringCloud2 从入门 -
zssapple:
taskList.jsp 中的问题解决:if(${sessio ...
JBPM5工作流引擎 S2SH+JBPM4.4开发工作流的一个完整的请假流程例子 -
793059909:
很详细
Jquery+Spring3+Struts2+Ibatis3框架源代码工程(含权限) -
aa00aa00:
一个中国移动的系统,呵呵,报错来的,现在调试好了
Jquery+Spring3+Struts2+Ibatis3框架源代码工程(含权限) -
小fi(FD):
楼主有考虑过用非关系型数据库实现吗?如果用非关系型数据库,对于 ...
动态表单分析
mysql5 rpm linux 安装过程
MySQL-client-community-5.1.45-1.rhel5.i386.rpm
MySQL-server-community-5.1.44-1.rhel5.i386.rpm
说明如下:
1:用户root用户进入/usr/local
2: 上传:
MySQL-client-community-5.1.45-1.rhel5.i386.rpm
MySQL-server-community-5.1.44-1.rhel5.i386.rpm
3: 执行:
rpm -ivh MySQL-server-community-5.1.44-1.rhel5.i386.rpm
rpm -ivh MySQL-client-community-5.1.45-1.rhel5.i386.rpm
报错:
rpm -ivh MySQL-server-community-5.1.44-1.rhel5.i386.rpm
警告:MySQL-server-community-5.1.44-1.rhel5.i386.rpm: V3 DSA ?章:NOKEY, key ID 5072e1f5
??:相依性失?:
libc.so.6(GLIBC_2.4) 是 MySQL-server-community-5.1.44-1.rhel5.i386 所需要的
rtld(GNU_HASH) 是 MySQL-server-community-5.1.44-1.rhel5.i386 所需要的
MySQL ? mysql-4.1.22-2.el4.i386 相?突
[root@czydmmsapp local]# rpm -ivh MySQL-client-community-5.1.44-1.rhel5.i386.rpm
??:?? MySQL-client-community-5.1.44-1.rhel5.i386.rpm 失?:没有那个文件或目录
[root@czydmmsapp local]# rpm -ivh MySQL-server-community-5.1.44-1.rhel5.i386.rpm
警告:MySQL-server-community-5.1.44-1.rhel5.i386.rpm: V3 DSA ?章:NOKEY, key ID 5072e1f5
??:相依性失?:
libc.so.6(GLIBC_2.4) 是 MySQL-server-community-5.1.44-1.rhel5.i386 所需要的
rtld(GNU_HASH) 是 MySQL-server-community-5.1.44-1.rhel5.i386 所需要的
MySQL ? mysql-4.1.22-2.el4.i386 相?突
说是已经安装了另一版本。
用 rpm -e --nodeps mysql-4.1.22-2.el4.i386 删除它。
rpm -qa | grep mysql 或: rpm -qa | grep -i '^mysql-'
rm -rf /usr/include/mysql
rm -rf /usr/lib/mysql
rpm –e mod_auth_mysql
4:然后进入mysql。 直接输入mysql就行了,因为刚开始mysql还没有设置密码。需要手动去修改
5:进入mysql数据库:use mysql,Database changed
查看一下root的情况:select user, password from user;
6: 修改密码:
update user set password=PASSWORD("czyd(2010)") where user='root';
最好在执行一下:commit
7:ip访问
then: select host, user from user;
mysql> select host, user from user;
+-----------------------+------+
| host | user |
+-----------------------+------+
| % | test |
| 127.0.0.1 | root |
| localhost | |
| localhost | root |
| localhost | test |
| localhost.localdomain | |
| localhost.localdomain | root |
+-----------------------+------+
7 rows in set (0.00 sec)
然后修改一个root用户的host为你的ip地址
update user u set u.host = 'your_ipaddress' where u.user = root and u.host = 'localhost';
update user u set u.host = '192.168.1.42' where u.user = root and u.host = 'localhost';
mysql> select host, user from user;
+-----------------------+------+
| host | user |
+-----------------------+------+
| % | test |
| 127.0.0.1 | root |
| 192.168.1.42 | root |
| localhost | test |
| localhost.localdomain | root |
+-----------------------+------+
5 rows in set (0.00 sec)
8:重启: service mysqld restart
9:退出mysql:exit;
强制安装
rpm -ivh *.rpm --force --nodeps
/////////替换
rpm -ivh --replacefiles **.rpm
[root@czydmmsapp local]# rpm -ivh *.rpm --force --nodeps
警告:MySQL-client-community-5.1.45-1.rhel5.i386.rpm: V3 DSA ?章:NOKEY, key ID 5072e1f5
??中... ########################################### [100%]
1:MySQL-server-community ########################################### [ 50%]
/usr/bin/my_print_defaults: error while loading shared libraries: requires glibc 2.5 or later dynamic linker
/usr/sbin/mysqld: error while loading shared libraries: requires glibc 2.5 or later dynamic linker
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/sbin/mysqld --skip-grant &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com/. Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/bin/mysqlbug script!
Notes regarding SELinux on this platform:
=========================================
The default policy might cause server startup to fail because it is
not allowed to access critical files. In this case, please update
your installation.
The default policy might also cause inavailability of SSL related
features because the server is not allowed to access /dev/random
and /dev/urandom. If this is a problem, please do the following:
1) install selinux-policy-targeted-sources from your OS vendor
2) add the following two lines to /etc/selinux/targeted/src/policy/domains/program/mysqld.te:
allow mysqld_t random_device_t:chr_file read;
allow mysqld_t urandom_device_t:chr_file read;
3) cd to /etc/selinux/targeted/src/policy and issue the following command:
make load
/usr/bin/my_print_defaults: error while loading shared libraries: requires glibc 2.5 or later dynamic linker
/usr/bin/my_print_defaults: error while loading shared libraries: requires glibc 2.5 or later dynamic linker
Starting MySQL.Manager of pid-file quit without updating file.[FAILED]
Giving mysqld 2 seconds to start
2:MySQL-client-community ########################################### [100%]
日,没安装成功。
评论
客户端好像是navicat吧。
卸载Mysql[root@yourdomainname/]# rpm -qa | grep mysql
mysql-3.23.58-9
php-mysql-4.3.4-11
mod_auth_mysql-20030510-4.1
mysql-server-3.23.58-9
说明:rpm –qa | grep mysql 命令是为了把mysql相关的包都列出来,我上面的例子是Fedora core2默认安装mysql的rpm软件包列表,如果是别的Linux版本列出来的列表有可能会不一样,不过不用担心,不管是什么,卸载都从最下面的一个包开始,直到卸载掉第一个为止。
比如:在这个例子中,我们应该先卸载mysql-server-3.23.58-9 方法如下:
rpm –e mysql-server
说明:rpm –e 是卸载rpm包的命令,后面是包名称,最后的版本号是不用打的,比如我们下一步卸载mod_auth_mysql-20030510-4.1包,方法如下:
rpm –e mod_auth_mysql
发表评论
-
Maven3的POM.xml元素说明详解
2017-09-20 16:53 881Maven3的POM.xml元素说明 POM代表项目对象 ... -
jquery easyui 布局示例
2014-05-30 00:54 1595<!DOCTYPE html PUBLIC " ... -
struts2 easyui combobox
2014-05-27 15:32 974今天花了半天才搞定。 网上找了不少例子。最后搞定了。 ... -
移动动漫计费DEMO
2014-04-01 16:31 891中国移动动漫基地产品能力开放池Android客户端开发手册 ... -
MyBatis的foreach语句详解
2014-02-10 09:55 834foreach的主要用在构建in ... -
命令学习日志
2013-12-20 15:57 742可在dos命令下执行查看端口号:netstat -aon|f ... -
Spring Security 3.2 过滤器
2013-08-14 11:15 916表3.1。标准过滤器假名和顺序 别号 ... -
一个般项目管理流程
2013-07-15 08:32 825一个管理流程从一个项目提出到结束,按照ISO9 ... -
Oralce 10G学习日志
2013-01-25 13:47 858技 术 文 件 ... -
linux oracle sys 密码修改
2013-01-24 15:00 14651、登录Linux系统 2、进入Oracle用户 ... -
动态表单分析
2012-05-31 19:52 2347java动态表单,在网上看 ... -
MyEclipse 10 + svn
2012-05-30 17:32 9MyEclipse 10安装 下载地址: http:// ... -
ANT 入门手册
2011-02-22 16:46 1937一:基础语法 1.ant的编译文件默认为build.xm ... -
oracle 9i 学习 过程
2010-12-16 10:36 1515启动 之前已经安 ... -
StarUML指导手册(转)
2010-11-16 17:01 26271. 综述: StarUM ... -
测试文档模板下载(供新手学习)
2010-11-16 10:27 2392目前没有经典的定义。比较通常的说法是:指对一项特定的软件产品进 ... -
如何在Windows下搭建Android开发环境(转)
2010-10-11 09:25 5631Android开发环境 方法一: ... -
google code 看到密码时可以这样试试
2010-09-02 15:31 11621 http://www.mariogold.com/ 2 ... -
MyEclipse6.5的速度性能优化大提速
2010-09-02 11:18 4510MyEclipse是Eclipse ... -
iBATIS 3 动态SQL
2010-09-01 09:44 2882字符串是:<if test="status ! ...
相关推荐
安装文件:MySQL-server-5.1.62-1.glibc23.i386.rpm # rpm -ivh /software/mysql/MySQL-server-5.1.62-1.glibc23.i386.rpm 这是在/usr/share/mysql 目录下生成一些 文件,其中有一个文件名为:my-medium.cnf 将其...
1、把以下5个rpm上传到/home/soft/mysql目录 2、执行rpm安装 #rpm -ivh mysql-*.rpm --force --nodeps 3、安装完成后执行以下命令查询mysql root帐号密码 #grep 'temporary password' /var/log/mysqld.log 没拿到,...
Mysql5.7 rpm 安装包 linux
二、安装Mysql ...该命令在安装时常用的参数是 –ivh ,其中i表示将安装指定的rmp软件包,V表示安装时的详细信息,h表示在安装期间出现“#”符号来显示目前的安装过程。这个符号将持续到安装完成后才停止。
Linux 使用rpm方式安装mysql,供大家参考学习使用!,附详细安装配置过程,以及问题处理等
国产麒麟系统KylinOS 安装MySQL 8.0-RPM包安装操作手册
Linux下安装Mysql数据库; Linux mysql rpm安装包 Linux mysql安装教程
在Linux 系统下使用RPM 安装方式 ,其中使用到的资源文件,版本是mysql5.7 包含的资源文件: mysql-community-client-5.7.16-1.el7.x86_64.rpm mysql-community-common-5.7.16-1.el7.x86_64.rpm mysql-community-...
MySQL 5 rpm版本 for linux安装.docx
linux的mysql安装文件rpm版,安装过程可以看博客
linux下如何彻底卸载RPM或yum安装的mysql
Linux系统MySQL(rpm版)安装文件,可直接用来下载安装mysql
mysql for linux rpm包 5.0.77版本
Linux下安装MySQL所需rpm包 客户端 ,由于文件过大,客户端跟服务器端分开上传了
linux下mysql(rpm)安装使用手册
linux平台安装mysql所需的rpm包,包括client、server、devel等
Linux MySQL 5.0 rpm包,几乎绝版了,SpagoBI必须搭档,非常好用。
linux下mysql rpm安装包,欢迎下载。
Linux下RPM方式安装MySQL5.7.pdf Linux下RPM方式安装MySQL5.7.pdf
1. http://dev.mysql.com/Downloads/MySQL-5.6/MySQL-server-5.6.21-1.rhel5.x86_64.rpm 2. http://dev.mysql.com/Downloads/MySQL-5.6/MySQL-devel-5.6.21-1.rhel5.x86_64.rpm 3. ...