SUSE11 Installation mysql5.1.73:rpm Installation Method (ultra-simple entry-level installation)

Source: Internet
Author: User

Note: This installation process is only a critical step and is only suitable for beginners learning to use


First, the environment preparation

64-bit operating system, SUSE version 11sp3. (Note: Kingtry is my host name)

kingtry:~ # uname-alinux Kingtry 3.0.76-0.11-default #1 SMP Fri June 08:21:43 UTC (ccab990) x86_64 x86_64 x86_64 G nu/linuxkingtry:~ # cat/etc/suse-release SuSE Linux Enterprise Server One (x86_64) VERSION = 11PATCHLEVEL = 3


Second, software preparation

mysql-client-community-5.1.73-1.sles11.x86_64.rpm

mysql-server-community-5.1.73-1.sles11.x86_64.rpm


Third, the installation process

kingtry:~ # rpm -ivh mysql-server-community-5.1.73-1.sles11.x86_64.rpm  mysql-client-community-5.1.73-1.sles11.x86_64.rpm preparing...                 ########################################### [100%]    1:mysql-client-community ########################################### [ 50%]    2:mysql-server-community ########################################### [100%]insserv : service network is missed in the runlevels 4 to use  service mysqlmysql                      0:off  1:off  2:on   3:on    4:on   5:on   6:offplease 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 kingtry password  ' New-password ' alternatively you can run:/usr /bin/mysql_secure_installationwhich will also give you the option of  Removing the testdatabases and anonymous user created by default.   this isstrongly recommended for production servers. See the manual for more instructions. please report any problems with the /usr/bin/mysqlbug script! Starting mysql.                                                         donegiving mysqld 2 seconds to start


Iv. Installation Complete

Super Simple installation process, only one command above, and after the installation of the service automatically started.

The current version root password is empty

Kingtry:~ # mysqlwelcome to the mysql monitor.  commands end  with ; or \g.your mysql connection id is 1server version:  5.1.73-community MySQL Community Server  (GPL) copyright  (c)  2000, 2013 ,  oracle and/or its affiliates. all rights reserved. oracle is a registered trademark of oracle corporation and/or  Itsaffiliates. other names may be trademarks of their respectiveowners . type  ' help; '  or  ' \h '  for help. Type  ' \c '  to clear the current input  statement.mysql> show databases;+--------------------+| database            |+--------------------+| information_schema | |  mysql              | |  test               |+-------- ------------+3 rows in set  (0.00 sec) mysql>




SUSE11 Installation mysql5.1.73:rpm Installation Method (ultra-simple entry-level installation)

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.