关于mysql升级到5.5报错问题
来源:互联网 发布:淘宝的一千零一夜 编辑:程序博客网 时间:2024/04/27 16:06
关于mysql升级到5.5报错问题
升级命令wget http://down.wdlinux.cn/in/mysql_up55.sh
sh mysql_up55.sh
安装日志错误部分
Shutting down MySQL. SUCCESS!
scripts/mysql_install_db.sh: line 325: @HOSTNAME@: command not found
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/www/wdlinux/mysql/bin/mysqladmin -u root password 'new-password'
/www/wdlinux/mysql/bin/mysqladmin -u root -h password 'new-password'
Alternatively you can run:
/www/wdlinux/mysql/bin/mysql_secure_installation
which 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.
You can start the MySQL daemon with:
cd /www/wdlinux/mysql ; /www/wdlinux/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /www/wdlinux/mysql/mysql-test ; perlmysql-test-run.pl
Please report any problems with the /www/wdlinux/mysql/scripts/mysqlbug script!
ERROR! MySQL server PID file could not be found!
Starting MySQL. ERROR! The server quit without updating PID file (/www/wdlinux/mysql-5.5.27/data/localhost.localdomain.pid).
Running..., Please Wait...
err
mysql update is OK
错误情况
http://www.wdlinux.cn/bbs/viewthread.php?tid=5137
安装完后提示
重启mysql时提示,后台登陆不了。
解决办法
vi /www/wdlinux/init.d/mysqld
修改46 47行的目录为安装目录与数据库目录
sh mysql_up55.sh
安装日志错误部分
Shutting down MySQL. SUCCESS!
scripts/mysql_install_db.sh: line 325: @HOSTNAME@: command not found
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/www/wdlinux/mysql/bin/mysqladmin -u root password 'new-password'
/www/wdlinux/mysql/bin/mysqladmin -u root -h password 'new-password'
Alternatively you can run:
/www/wdlinux/mysql/bin/mysql_secure_installation
which 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.
You can start the MySQL daemon with:
cd /www/wdlinux/mysql ; /www/wdlinux/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /www/wdlinux/mysql/mysql-test ; perlmysql-test-run.pl
Please report any problems with the /www/wdlinux/mysql/scripts/mysqlbug script!
ERROR! MySQL server PID file could not be found!
Starting MySQL. ERROR! The server quit without updating PID file (/www/wdlinux/mysql-5.5.27/data/localhost.localdomain.pid).
Running..., Please Wait...
err
mysql update is OK
错误情况
http://www.wdlinux.cn/bbs/viewthread.php?tid=5137
安装完后提示
重启mysql时提示,后台登陆不了。
解决办法
vi /www/wdlinux/init.d/mysqld
修改46 47行的目录为安装目录与数据库目录
0 0
- 关于mysql升级到5.5报错问题
- 关于Mysql 升级到4.1出现的编码问题
- 关于mysql数据库升级到5.6的问题
- ubuntu升级到12.04后mysql报错了
- 升级到Xcode9 Xib报错问题的解决
- 关于mysql报错的问题
- 关于升级到iOS8地图定位问题
- centos升级mysql到5.5
- mysql升级到5.7.9通过navicat11.1.12执行查询语句报错解决方案
- Android OTA升级应用拷贝文件到/cache目录权限报错问题
- centos 升级mysql 5.1 到 mysql 5.5
- MySQL数据库5.0升级到5.1,再升级到5.5
- 关于MySQL的wait_timeout连接超时问题报错解决方案
- 关于MySQL的wait_timeout连接超时问题报错解决方案
- 关于MySQL的wait_timeout连接超时问题报错解决方案
- 关于MySQL的wait_timeout连接超时问题报错解决方案
- 关于MySQL的wait_timeout连接超时问题报错解决方案
- 关于MySQL连接报错:1045的问题
- Confluence IM 状态宏
- [css] jquery+css 基本遮罩
- 数字图像处理 笔记1
- Java编程中“为了性能”需做的26件事
- WIN2012远程桌面用户建立使用FIREFOX访问内网OA的快捷方式
- 关于mysql升级到5.5报错问题
- dom类型
- 安装ltib时遇到的两个问题及解决方法
- C++类静态成员与类静态成员函数
- php 遍历父子树
- java对数组的操作
- Who's in the Middle
- Android界面篇【android的九宫格式实现】
- linux 常用命令