adb版本升级失败

adb版本升级失败,第1张

通常情况下,MySQL的升级失败可能是因为以下几个原因:

1、没有按照正确的步骤安装MySQL,导致MySQL安装文件不完整;

2、MySQL配置文件有问题,导致MySQL不能正常工作;

3、MySQL安装过程中出现问题,导致MySQL不能正常工作;

4、MySQL版本不兼容,导致MySQL无法正常升级。

要解决MySQL版本升级失败的问题,首先要检查MySQL的安装和配置,确保MySQL文件完整无误。然后,应该按照正确的步骤升级MySQL,以确保MySQL的版本升级成功。最后,应该运行MySQL的升级向导,以确保MySQL的升级是安全可靠的。

su - mysql -c "mysql_install_db"

CentOS 5.3 64位版,打了这个命令后,会得出以下错误信息:

[root@server ~]# su - mysql -c "mysql_install_db"

WARNING: The host 'server.sharktech.net' 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 all prepared tables

Fill help tables

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:

/usr/local/mysql/bin/mysqladmin -u root password 'new-password'

/usr/local/mysql/bin/mysqladmin -u root -h server.sharktech.net 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/local/mysql/bin/mysql_fix_privilege_tables. Otherwise you will not be

able to use the new GRANT command!

You can start the MySQL daemon with:

cd /usr/local/mysql /usr/local/mysql/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:

cd sql-bench perl run-all-tests

Please report any problems with the /usr/local/mysql/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 https://order.mysql.com

好像在说什么东西不兼容。请问如何解决? 万分感谢!

提问者: 2010世博 - 高级经理 六级 最佳答案

已经安装数据库成功. 只是一些警告之类的信息.

你要启动,就按它的话做:

You can start the MySQL daemon with:

cd /usr/local/mysql /usr/local/mysql/bin/mysqld_safe &

只是因为你的libc库不是很兼容mysql库,所以不能在授权的时候使用domainname, 而必须直接用ip地址. 比如:

grant all on *.* to abc@192.168.0.1 identified by 'abc'

而不能用类似

grant all on *.* to abc@'yahoo.com' identified by 'abc'

这种形式.

把php下面的libmysql.dll复制到c:\windows\system32去,重新启动服务器

如果还不行,那可能是你的php安装配置有问题,你可以phpinfo()看看是否支持mysql


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/6139070.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-03-16
下一篇 2023-03-16

发表评论

登录后才能评论

评论列表(0条)

保存