In SuSE Linux, set the ISO file of the operating system installation disk to the installation source to install MySQL service.

Source: Internet
Author: User

Every time you install the program, you will be prompted to insert the SuSE installation disc, which is inconvenient. Today, we finally find a solution:

# Creating a directory

Mkdir/mnt/ISO

# Mount the ISO file to a directory
Mount-o loop/data/suse11sp1/64-2d-dvd1.iso/mnt/ISO

# Add zypper installation Source
Zypper addrepo/mnt/ISO/suse11sp1iso

# Display zypper installation Source
Zypper Repos
# Display result:
# | Alias | Name | enabled | refresh
-- + ---------------------------------------------------- + ---------------------------------------------- + --------- + --------
1 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | Yes | No
2 | suse11sp1iso | suse11sp1iso | Yes | No

# Install MySQL from a new installation Source
Zypper install MySQL 2

# Viewing MySQL status
Service MySQL status

# Start MySQL
Service MySQL start

# Set MySQL to start automatically
Chkconfig MySQL on

Related Article

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.