Wdcp upgrade mysql5.5 _ MySQL

Source: Internet
Author: User
Tags mysql update
Wdcp upgrade mysql5.5

Upgrade command

wget http://down.wdlinux.cn/in/mysql_up55.shsh mysql_up55.sh


Installation log error section
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, shocould 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
Stronugly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon:
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-test; perl mysql-test-run.pl

Please report any problems with the/www/wdlinux/mysql/scripts/mysqlbug script!

ERROR! MySQL server PID file cocould 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

Error
Http://www.wdlinux.cn/bbs/viewthread.php? Tid = 5137
Prompt after installation


When I restart mysql, I am prompted that I cannot log on to the background.


Solution



Vi/www/wdlinux/init. d/mysqld
Change the directory of row 46 to the installation directory and Database Directory.




Download(8.81 KB)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.