MySQL security-related alarms

Source: Internet
Author: User

Problem phenomenon:

This time in the process of testing using MySQL found when landing MySQL appeared:warning:using a password on the command lineinterface can is Insecure. Alarm information, because want to put MySQL into the Linux ha, the discovery of each background log on MySQL, resulting in Ha error and switch;


Workaround:

Write the background login command to the shell script and set a fixed return value, for example:


#!/bin/bash


mysql-uroot-proot123 > Mysql.out 2>&1 &

Exit 1;



This article is from the "WQS75" blog, make sure to keep this source http://wqs75.blog.51cto.com/3474114/1877680

MySQL security-related alarms

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.