Get MySQL here: http://www.mysql.com/downloads/mysql/#downloads
Select TAR installation if available, get the link of TAR and run
wget [link]
Uncompress
tar -xvf MySQL-5.5.13-1.rhel5.x86_64.tar
Install server:
rpm -Uvh MySQL-server-5.5.13-1.rhel5.x86_64.rpm
Install client:
rpm -Uvh MySQL-client-5.5.13-1.rhel5.x86_64.rpm
Note this warning:
----------------------
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 ip-10-34-70-147 password 'new-password'
Alternatively you can run:
/usr/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.
Please report any problems with the /usr/bin/mysqlbug script!
-----------------------------------
Start MySQL:
service mysql start
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment