MySQL quick installation and client Access authorization in Linux

Source: Internet
Author: User
MySQL quick installation and client Access authorization in Linux: yuminstallmysql-server install mysql server etcinit. dmysqldstart start mysql

MySQL quick installation and client Access authorization in Linux: yum install mysql-server // install mysql server/etc/init. d/mysqld start // start mysql

Homepage → Database Technology

Background:

Read News

MySQL quick installation and client Access authorization in Linux

[Date: 2012-03-01] Source: Linux Author: yangbaba2000 [Font:]

Quick MySQL installation and client Access authorization in Linux:

Yum install mysql-server // install mysql server

/Etc/init. d/mysqld start // start the mysql server

--------------------------------- Client Access Authorization ----------------------------------------------------

A user table in MYSQL stores the database user information. One column is host, which defines the Client ip address that can access the server.

To allow all clients to access the database, perform the following:

Note: All clients can use root to access the database and retain the initial password.

Grant all privileges on *. * TO 'root' @ '%' with grant option;

Note: All clients can access the database using the root account and use the admin account as the password.

Grant all privileges on *. * TO 'root' @ '%' identified by 'admin' with grant option;

  • 0
  • Install Mysql in CentOS 64bit -- Solve the Problem of Can't connect to local MySQL server through socket"

    Import and export data using Hive

    MySQL database tutorial

    Image Information

    View All comments in this article (0)

    Comments

    Latest Information

    Popular this week

    Introduction to Linux community-advertisement service-website map-help Info-contact us
    The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.


    Copyright©2006-2011 Linux community All rights reserved Zhejiang ICP backup No. 06018118

    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.