Suse Assembly mysql

Source: Internet
Author: User
Install mysql1. download: mysql address: dev. mysql. comdownloadsmysql select the type you want to download, this package has two servers we want to use, clinet2. unzip: There are a lot of files, the following uses the two MySQL-client-5.5.20-1.sles11.x86_64.rpmMySQL-server-5.5.20-1.sl

Install mysql in suse. download: mysql address: http://dev.mysql.com/downloads/mysql/ select the type you want to download, this package has two servers we want to use, clinet 2. unzip: There are a lot of files, the following uses the two MySQL-client-5.5.20-1.sles11.x86_64.rpm MySQL-server-5.5.20-1.sl

Install mysql in suse

1. Download:

Mysql address: http://dev.mysql.com/downloads/mysql/ select the type you want to download, this package has the two servers we want to use, clinet

2. decompress:

There are many files, and the two files are used below

MySQL-client-5.5.20-1.sles11.x86_64.rpm

MySQL-server-5.5.20-1.sles11.x86_64.rpm

3. Install the server:

Rpm-ivh MySQL-server-5.5.20-1.sles11.x86_64.rpm

4. Install the client

Rpm-ivh MySQL-client-5.5.20-1.sles11.x86_64.rpm

5. Start the service

/Etc/init. d/mysql start


I reported this error during the installation process, and then I checked the document to solve it.

Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: YES)

Solution reference: http://superuser.com/questions/603026/mysql-how-to-fix-access-denied-for-user-rootlocalhost

The premise is that you need to kill all mysql processes and then execute those commands.

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.